DEV Community

Discussion on: A UseDarkMode react hook for everyone!

Collapse
 
tzwel profile image
tzwel

holy shit does tailwind always look like this?

Collapse
 
kamil7x profile image
Kamil Trusiak

No, I just used black and white, because didn't want to think too much about it

Thread Thread
 
tzwel profile image
tzwel

i meant the syntax

Thread Thread
 
kamil7x profile image
Kamil Trusiak

Yes. It's a set of utility classes. It has also possibility to configure values for default classes and create classes on the fly. But the latter isn't used very frequently in my opinion.

Thread Thread
 
tzwel profile image
tzwel

bruh