Closed MarekPikula closed 2 years ago
This is fixed by PR #16 and commit 029d66f. Enjoy!
How do you change to dark mode colors ?
How do you change to dark mode colors ?
Re-reading this, I'm thinking your asking how to enable dark mode in your website (sorry for the misunderstanding).
Make your CSS use prefers-color-scheme
and it'll work automatically. Another way to make it work is to inject class dark
into the body
element of your page when dark mode is needed.
Hi @martignoni , thanks so much for clarifying this. It helped :) Please consider adding it to the official documentation as I couldn't easily find it on the main project page.
Please consider adding it to the official documentation
I thought the same thing after reading you issue and this one, and began already. Thanks for the feedback and idea.
Done: ca7c13c0f8c32d1b83529bfd7d0d10aa9314a1c2.
I would like to use this module with a theme which natively supports dark mode (namely Stack). Unfortunately, as I can see, it doesn't change the colours when the dark mode is enabled.
This is how it looks like with the base theme in dark mode:
It's not terrible, but it would be nice if the colour scheme changed. Do you think it's easy to implement, or should I request it in the theme itself?