-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat(sidenav)!: core tokens migration #1901
Conversation
🚀 Deployed on https://pr-1901--spectrum-css.netlify.app |
82f1223
to
f8f4fbe
Compare
5aa2a9e
to
4f82222
Compare
/* stylelint-disable declaration-property-value-no-unknown */ | ||
.spectrum-SideNav { | ||
.spectrum-Icon { | ||
forced-color-adjust: preserve-parent-color; |
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.
forced-color-adjust: preserve-parent-color;
was new to me heres the docs I was using:
https://www.w3.org/TR/css-color-adjust-1/#valdef-forced-color-adjust-preserve-parent-color
https://developer.mozilla.org/en-US/docs/Web/CSS/forced-color-adjust
ca1d581
to
5bb7509
Compare
fe50de9
to
afd52f2
Compare
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.
Would you mind adding an extra Storybook story to show Side Navigation with icons? I like that we have a control to toggle them off and on, but having a separate story for this will allow for easier capture via VRT.
705f415
to
0a7f64a
Compare
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.
The component is looking really good. I looked over the docs, Storybook options, and WHCM.
a4d491d
to
bc30962
Compare
7fa0121
to
5a1f090
Compare
This reverts commit a404f95.
426f13c
to
3284344
Compare
Description
Migrates SideNav to use core tokens.
Implemented changes to docs site side nav.
Jira Ticket
How and where has this been tested?
Browser(s) and OS(s) this was tested with:
Chrome Version 113.0.5672.63 on macOS
Safari 16.4 on macOS
Firefox 112.0.2 on macOS
Screenshots
To-do list