How to enable dark mode?
Unanswered
Japanese littleneck posted this in #help-forum
Japanese littleneckOP
Hey guys, I am using tailwind css and shadcn. How can I enable darkmode across all my pages?
1 Reply
Tailwind allows you to choose how dark mode is applied. By default it uses the
Take a look at the documentation: https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually
prefer-color-scheme CSS media feature but you can also set it manually through js if you need to have a toggle.Take a look at the documentation: https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually