-
Notifications
You must be signed in to change notification settings - Fork 44
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
Update SuperSelect
selected list item style
#2479
Update SuperSelect
selected list item style
#2479
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
&:hover, | ||
&.mock-hover { | ||
color: var(--token-color-foreground-action-hover); |
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 couldn't find a way to not duplicate these interactive styles between aria-current="true"
and aria-selected="true"
, so if there's a better way, I'm all for it!
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.
Thank you for taking care of this update so quickly!
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.
Seems correct. 👍
📌 Summary
If merged this PR updates the default/resting state of selected list items in the
SuperSelect
toForeground / Primary
to match other list items and theDropdown
component.📸 Screenshots
Before:
After:
🔗 External links
Jira ticket: HDS-3942
Figma file: Figma v2.0 Libraries | SuperSelect
👀 Component checklist
💬 Please consider using conventional comments when reviewing this PR.