Skip to content

Dark mode overrides not working like I expected #597

Discussion options

You must be logged in to vote

Your config is okay and this is the result you should be seeing: https://play.tailwindcss.com/kBllfeLRx4
I can't be sure unless I see your page but I guess you're using a theme only for a section (not the root element) and if that's the case, you should also add bg-base-100 text-base-content classes to give that section background color and text color of current theme.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@longrunningprocess
Comment options

@saadeghi
Comment options

Answer selected by longrunningprocess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants