-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: add force-colors to backgroundStyles and update button styles to fix the card and button components #17231
fix: add force-colors to backgroundStyles and update button styles to fix the card and button components #17231
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 c7183e3:
|
d6695a2
to
143ad63
Compare
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 72508b4cde86bc47b0f07b6986cbb2e01601eed8 (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
40b25a9
to
49280c3
Compare
smoked, looks as advertised. |
49280c3
to
c189110
Compare
c189110
to
c7183e3
Compare
🎉 Handy links: |
… fix the card and button components (microsoft#17231) * add force-colors backgroundStyles and set a few HC colors on button styles * Change files * adjust forece colors import order * update to use attribute instead of class. fixed href color issues
… fix the card and button components (microsoft#17231) * add force-colors backgroundStyles and set a few HC colors on button styles * Change files * adjust forece colors import order * update to use attribute instead of class. fixed href color issues
Pull request checklist
$ yarn change
Description of changes
Added forced-colors to the
backgroundStyle
stylesheet, in the design system provider. In addition, updated to add selectors to fix high contrast colors in Stealth, Outline, Default, and Neutral buttons when the colors are being inherited from the fluent-card background.Focus areas to test
Screenshots show the before and after buttons in HC dark and light.
before
after