-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(a11y): update vertical nav selected and hover colors #1491
Conversation
👋 @andyfeds,
Thank you, 🤖 Clarity Release Bot |
This PR introduces visual changes: 6cfb203
|
This PR introduces visual changes: c6159c1
|
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 have noticed that in light theme --clr-vertical-nav-hover-bg-color
and --clr-vertical-nav-active-bg-color
are using the same construction-100
color.
Yes, I see that too, will confirm this with Grigor |
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.
Assigning global colors to --clr-...
tokens is a bit controversial.
It requires dark-theme overrides in the component specific _properties.vertical-nav.scss
file, which short-circuits any possibility to deliver proper theming through design tokens.
I think we should stick to using --cds-alias-...
aliases as immediate assignment to the --clr-...
space tokens, and not directly link to global
colors.
7bffacf
to
ee12bfd
Compare
The new |
This PR introduces visual changes: 5b96551
|
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.
LGTM
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: CDE-2115
What is the new behavior?
To fix the a11y defect the below changes have been made:
Does this PR introduce a breaking change?
Other information