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

CSS Variable-based Theme #297

Open
Haeleon opened this issue Jul 4, 2024 · 1 comment
Open

CSS Variable-based Theme #297

Haeleon opened this issue Jul 4, 2024 · 1 comment

Comments

@Haeleon
Copy link
Contributor

Haeleon commented Jul 4, 2024

Currently, several parts of the UI have hard-coded colors. To make theming easier and keep future elements consistent, a set of CSS variables should be used to control base colors and potentially control how they mix. For example, the background and accent colors could be directly changed, and all UI parts without specifically chosen colors would change to match.

@kilbouri
Copy link
Contributor

kilbouri commented Jul 8, 2024

I wonder if this could hook into Tailwind using a theme extension that defines new theme colours using var()...

@kilbouri kilbouri changed the title Refactor to CSS variables CSS Variable-based Theme Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants