Skip to content
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

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

jorytindall
Copy link
Contributor

@jorytindall jorytindall commented Oct 3, 2024

📌 Summary

If merged this PR updates the default/resting state of selected list items in the SuperSelect to Foreground / Primary to match other list items and the Dropdown component.

📸 Screenshots

Before:
Screenshot 2024-10-03 at 10 27 57 AM

After:

Screenshot 2024-10-03 at 10 27 24 AM

🔗 External links

Jira ticket: HDS-3942
Figma file: Figma v2.0 Libraries | SuperSelect


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Oct 3, 2024 5:30pm
hds-website ✅ Ready (Inspect) Visit Preview Oct 3, 2024 5:30pm


&:hover,
&.mock-hover {
color: var(--token-color-foreground-action-hover);
Copy link
Contributor Author

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!

@jorytindall jorytindall requested review from LilithJames-HDS and a team October 3, 2024 19:10
@jorytindall jorytindall marked this pull request as ready for review October 3, 2024 19:10
Copy link
Contributor

@LilithJames-HDS LilithJames-HDS left a 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!

Copy link
Contributor

@MelSumner MelSumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems correct. 👍

@jorytindall jorytindall merged commit 1ea533f into main Oct 4, 2024
14 checks passed
@jorytindall jorytindall deleted the hds-3942-update-super-select-checkmark-style branch October 4, 2024 17:52
@hashibot-hds hashibot-hds mentioned this pull request Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants