mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> The new theming structure does not allow high contrast and high contrast dark to render properly. This can be seen when running a test that uses `set-content`. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - High contrast and high contrast dark have been enabled to the testing environments - The theme files for high contrast and high contrast dark have been added under `themes`. ## Does this introduce a breaking change? - [x] Yes - [ ] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> [Colors preview](https://ionic-framework-git-set-content-ionic1.vercel.app/src/themes/test/color/) How to test: 1. Verify that tests related to palettes are passing especially those that use `setContent` 2. Verify that the preview page renders the right colors for each possible variation of palettes and themes --------- Co-authored-by: ionitron <hi@ionicframework.com> Co-authored-by: Brandy Smith <brandyscarney@users.noreply.github.com>
Core Scripts
This file has been moved to /docs/core/testing/preview-changes.md.