Configuring colors in tailwind.config.js for dark mode. #3808
ryanhaticus
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, Tailwind Labs & contributors!
As of late, I have been wanting to implement dark mode into my application. Seeing, though, as my application is rather large, I'd like to know if I can configure a theme-like map (where 'bg-white-100' becomes 'bg-gray-900', etc) when the theme is applied instead of editing each file with
dark:
variants. In other words, in this case, I would like to configure a color map that would overtake the default color scheme automagically.Let me know if this already exists or if you have found alternative solutions.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions