-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix contrast issues in V8 Fluent2 Dark Theme #28486
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 contrast issues in V8 Fluent2 Dark Theme #28486
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 83629aa:
|
📊 Bundle size report🤖 This report was generated against 61ce122207774ee3b4193d111bb061e0acd75787 |
Asset size changes
Baseline commit: 61ce122207774ee3b4193d111bb061e0acd75787 (build) |
brandonthomas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed the hover color on the secondary text in the CompoundButton is dark in the Fluent 2 dark theme. It should be white as well I believe. Rest looks good.
Good catch, I ended up modifying the colors slightly for hovered/pressed after review, it should match what we see in https://react.fluentui.dev/ dark mode now. (Not exactly the same UX coloring as light theme, but it borrows from light themes color schema.) |
* master: (105 commits) fix(react-card): use resolved slot instead of raw prop object (microsoft#28517) applying package updates Expose virtualize index/length for casual use (microsoft#28450) applying package updates chore: update projects to use `*` for inner workspace dependencies (microsoft#28426) Update react-components/react-portal README.md (microsoft#28520) [2 of N] Changes for Making first render cycle faster and fixing test cases (microsoft#27721) applying package updates docs(react-search): Add README, description, best practices (microsoft#28507) Fix contrast issues in V8 Fluent2 Dark Theme (microsoft#28486) [VR-Approval-Cli] Fixed the Bug & Added the pipelineID (microsoft#28506) [Onboarding] Generalized VR-Approval-Cli (microsoft#28255) Onboarding [VR-Approval-CLI] To upload baseline screenshots (microsoft#28294) feat: migrate private v9 react packages to new preview versioning scheme (microsoft#28474) applying package updates applying package updates chore: openItems property added to TreeOpenChangeData + minor internal improvements (microsoft#28491) Fix Virtualizers 'start buffer' overflow (microsoft#28437) docs(v0 migration): add note about nested popups (microsoft#28480) chore: move slots back to TreeItem and creates slot context (microsoft#28492) ...
Previous Behavior
Fluent2 Dark Theme for V8 did not respect 'isInverted' flag and used lightmode high-contrast colors for background in some scenarios (message bar warnings etc.)
Primary button color was a slightly lighter shade in dark theme.
New Behavior
IsInverted: true set on Fluent 2 Dark Theme for v8, all background colors should now be appropriate lower-contrast colors.
Primary button color is the same on V8 Fluent 2 dark and light themes.
Related Issue(s)