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

Customisation of theme’s radio styles in Settings #48

Open
JayPanoz opened this issue Dec 16, 2024 · 0 comments
Open

Customisation of theme’s radio styles in Settings #48

JayPanoz opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels

Comments

@JayPanoz
Copy link
Contributor

Right now to build the Theme radio in settings, the component takes the background and text colors defined in their Preferences’ object, and applies these as inline styles instead of exposing everything as custom variables on :root.

While this is fine at the moment, the styling of themes’ settings in UIs can vary quite dramatically, so it would be great to make this more easily styleable – circles w/o text but an accessible label, background with a template text, etc.

Note auto is a special case with its own logic, and may be well the one developers would want to actually change. Right now it’s a linear gradient from the light theme background to the dark theme background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Draft
Development

No branches or pull requests

1 participant