-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(react-theme): Change colorBrandForeground2 mapping in teamsDark theme #24579
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
Merged
miroslavstastny
merged 2 commits into
microsoft:master
from
miroslavstastny:fix/react-theme-teams-dark-brand-background-2
Aug 30, 2022
Merged
fix(react-theme): Change colorBrandForeground2 mapping in teamsDark theme #24579
miroslavstastny
merged 2 commits into
microsoft:master
from
miroslavstastny:fix/react-theme-teams-dark-brand-background-2
Aug 30, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bsunderhus
approved these changes
Aug 30, 2022
|
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 7734ad8:
|
Collaborator
📊 Bundle size report
Unchanged fixtures
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1303 | 1298 | 5000 | |
| Button | mount | 959 | 961 | 5000 | |
| FluentProvider | mount | 1614 | 1593 | 5000 | |
| FluentProviderWithTheme | mount | 635 | 636 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 591 | 594 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 634 | 631 | 10 | |
| MakeStyles | mount | 1928 | 1894 | 50000 | |
| SpinButton | mount | 2559 | 2514 | 5000 |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 018509c3926449f70b357b80952f40ff2aa9071f (build) |
Member
Author
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Sep 1, 2022
* 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) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Current Behavior
In teamsDarkTheme
colorBrandForeground2was mapped tobrand[110].When used together
colorBrandBackground2(which is the case in<Badge appearance="tinted" />) this resulted in insufficient contrast ratio of 4.17New Behavior
In teamsDarkTheme
colorBrandForeground2is now mapped tobrand[120]. The contrast ration for tintedBadgeincreased to 5.33Related Issue(s)
Fixes #23898