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

Dark Mode not controllable #10

Closed
OmegaHawkeye opened this issue Jul 25, 2022 · 2 comments
Closed

Dark Mode not controllable #10

OmegaHawkeye opened this issue Jul 25, 2022 · 2 comments

Comments

@OmegaHawkeye
Copy link

Hello,

first of all great project but I got 1 small problem.

I want to have a theme toggle but since you have "darkMode": "media" in your tailwind.config.js this isn't posible.

I wanted to ask if u could mby change it to some kind of env variable, since u obvioulsy can't access any kind of other app state and it won't make that much of a difference but for someone like me it would definitily help

@albingroen
Copy link
Owner

I can unfortunately only choose between auto dark mode or manual dark mode, so I will settle for auto dark mode for now.

@supra-bharatjain
Copy link

@albingroen Is there a way to override it or pass the mode. As I am not using tailwindcss. I am using mui and there is toggleSwitch for switching between dark and light mode. Light mode looks fine but dark mode doesn't work.

Thanks.

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

3 participants