Spiderpig86/Cirrus

[Feature] Dark Mode option?

StupidRepo opened this issue · 2 comments

I would love if there is a way to enable a dark mode theme, kind of similar to how Bootstrap does it.
e.g. Using Bootstrap, adding data-bs-theme="dark" to the html tag makes the whole page becomes nice and dark.

Thanks in advance!

The good news is that dark mode support via classes like dark:text-white is coming. https://github.com/Spiderpig86/Cirrus/blob/master/src/internal/_generator_v2.scss#L26

However, I have no plans to support switching to a darker color palette for all page elements with a single attribute.

Oh that's a shame. In the end, I ended up making my own styles for dark mode, and applying that to the page. It had a few issues, however I managed to get everything working in the end!