#contact Formular

9 messages · Page 1 of 1 (latest)

nocturne path
final mirage
nocturne path
final mirage
nocturne path
#

you can for example add this css to your global css file

@custom-variant dark (&:where(.dark, .dark *));

To suppor toggling the class by adding .dark to the root

#

can you share what you had before?

final mirage
#

I meant that before you needed a file tailwind.config.mjs, to be able to use the dark mode, but in this new version it has been removed.

nocturne path
#

yes, and now in tailwind 4 you'd add your config to a css file you import globally

final mirage
#

Ahh, ok, perfect, Thank You