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

[Feature] Dark Mode option? #272

Closed
StupidRepo opened this issue Mar 17, 2024 · 2 comments
Closed

[Feature] Dark Mode option? #272

StupidRepo opened this issue Mar 17, 2024 · 2 comments

Comments

@StupidRepo
Copy link

StupidRepo commented Mar 17, 2024

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!

@Spiderpig86
Copy link
Owner

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.

@StupidRepo
Copy link
Author

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!

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