-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
chore: WDS elevation colors refinement #29618
Conversation
WalkthroughWalkthroughThe changes involve fine-tuning the theming system for a design system, specifically the dark and light mode themes. Adjustments were made to the lightness values in color schemes and shadow visibility in component styling. These refinements aim to improve the visual consistency and adaptability of UI components under different themes and conditions. Changes
Assessment against linked issues
Related issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
@@ -794,12 +794,12 @@ describe("bdFocus color", () => { | |||
|
|||
it("should return correct color when hue is between 0 and 55", () => { |
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.
@KelvinOm @jsartisan we're doing tests here for different hues, because we used to rotate focus hue based on accent, but we have removed that in favor of simpler logic. Should we just remove or simplify these tests?
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.
We will need the tests for refactoring this code. Now, when we change the code, we need to make changes to the tests. This is expected.
Closes #29421
Summary by CodeRabbit