-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Theme radio buttons refactor #16525
Theme radio buttons refactor #16525
Conversation
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.
Code looks good and it works great! ✨ ✨
The only thing that I would tweak is the size of the new "theme icons" to make them smaller, because right now this makes the Appearance
section a bit taller than the rest, which feels like a step back from #16313
But given we want to deploy a beta build with this, I think that change can be made in a different PR!
xref: https://github.com/github/accessibility-audits/issues/3273
Description
This PR updates the theme selector to look like radio buttons.
This PR:
RadioGroup
component that we will likely need to wrap most of radio button usages with anyways because they should be in radio groups but are not currently.RadioGroup
component in theAppearance
settings and adds custom styling to mimic dotcom's theme selection..Screenshots
Release notes
Notes: [Improved] Make radio theme selection look like radio buttons.