-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(react-theme): Swap Background1 and Foreground1 in HC color palette #24498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(react-theme): Swap Background1 and Foreground1 in HC color palette #24498
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 8abfe37:
|
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 9e7682f713135742648c4a6144bce5135048d990 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1302 | 1317 | 5000 | |
| Button | mount | 955 | 954 | 5000 | |
| FluentProvider | mount | 1601 | 1572 | 5000 | |
| FluentProviderWithTheme | mount | 640 | 633 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 595 | 600 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 628 | 633 | 10 | |
| MakeStyles | mount | 1917 | 1900 | 50000 | |
| SpinButton | mount | 2478 | 2549 | 5000 |
This was actually a problem with the stories, not the component itself. |
|
Another changed screenshot is BEFOREAFTERThe change fixes |
* master: (99 commits) applying package updates add coastal to @fluentui/react package and components (microsoft#24599) fix(react-18-tests-v9): extend correct tsconfig.json (microsoft#24626) feat(react-18-tests-v9): Add cypress setup to enable writing cypress tests (microsoft#24619) chore: Removing CompoundButtonAsToggleButton story since it was importing non-exported functions (microsoft#24620) Update PeoplePicker focus styles for the close button - Add borderRadius to getFocusStyle (microsoft#24596) fix(react-theme): Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted (microsoft#24611) Website fabric core (microsoft#24613) fix(react-theme) update react theme colors mapping (microsoft#24608) Remove downloaded artifact file after using it (microsoft#24606) Fix artifact downloading race condition (microsoft#24607) chore(deps): bump moment-timezone from 0.5.34 to 0.5.37 (microsoft#24604) Remove check for commit existence and make it optional (microsoft#24587) Update "screener-build.yml" to include lage's output (microsoft#24586) fix(react-theme): Change colorBrandForeground2 mapping in teamsDark theme (microsoft#24579) Add scoping for workflow (microsoft#24466) fix(react-theme): Swap Background1 and Foreground1 in HC color palette (microsoft#24498) applying package updates Add support for javascript date localization (microsoft#24577) fix: Combobox and Dropdown hover/active borders and padding style fixes (microsoft#24362) ...




Current Behavior
colorPalette*Background1was white in High ContrastcolorPalette*Foreground1was black in High ContrastcolorPalette*colors used hardcoded white and black instead of hcCanvas and hcCanvasText in High ContrastcolorPalette*Foreground1used Shade 10 for all Status shared colors in Light ThemeNew Behavior
colorPalette*Background1is hcCanvas (resolves to black in default windows HC theme) in High ContrastcolorPalette*Foreground1is hcCanvasText (resolves to white in default windows HC theme) in High ContrastcolorPalette*colors now use hcCanvas, hcCanvasTest or hcHighlight instead of white and black for all status and persona Color Palette colorscolorPaletteYellowForeground1uses Shade 30 in Light Theme, all other Status shared colors remained unchanged, using Shade 10Related Issue(s)
Fixes #24256