-
Notifications
You must be signed in to change notification settings - Fork 794
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(data-viz): ensure color palette updates on theme change #2007
fix(data-viz): ensure color palette updates on theme change #2007
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/carbon-design-system/carbondesignsystem/478h8cmqw |
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.
thanks for getting on this! Just a couple of things:
That dropdown (for the color groupings) to the right of the tabs should also have a white (not g10 background)
The alert palette also changes from light to dark, right now those are only the light values on both of the tabs and green value is wrong for the light:
@jeanservaas updated, although I noticed |
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.
looks good to me pending visual review
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.
boom
…esign-system#2007) * fix(data-viz): ensure color palette updates on theme change * fix(data-viz): update alert colors Co-authored-by: Alessandra Davila <[email protected]> Co-authored-by: jeanservaas <[email protected]>
…esign-system#2007) * fix(data-viz): ensure color palette updates on theme change * fix(data-viz): update alert colors Co-authored-by: Alessandra Davila <[email protected]> Co-authored-by: jeanservaas <[email protected]>
#1936
Fixes an issue where the color palette was not updated when the theme was changed
Changelog
Changed
useEffect
hook to update the color values when the theme is changed, not just when the dropdown is changed