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

:root defined CSS-variable swap for light/dark-mode? #90

Open
exetico opened this issue May 18, 2022 · 0 comments
Open

:root defined CSS-variable swap for light/dark-mode? #90

exetico opened this issue May 18, 2022 · 0 comments

Comments

@exetico
Copy link

exetico commented May 18, 2022

Hi

Thank you for a great script.

Have you considered adding a support for a CSS-variable swap logic, or at least, manipulate the existing ones? (And restore them, if light-mode is enabled again).

I've created a few pages where it's actually pretty easy to turn almost everything into dark-variables, but I'd like to have a solution like this on top. Allowing me the best of both worlds: Some cool tricks, and "CSS-variable" color swaps. The CSS-variable color swaps could be defined manually in the settings, or... Let the computer guess, and... allow us to at least tell the computer, if something goes wrong 🙈 ;-) ...

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

1 participant