Skip to content

Glossary: Tailwind CSS

Dark mode

Also written: dark:

A color scheme with a dark background, chosen by the device or by a visitor. In Tailwind the `dark:` variant applies a utility only when dark mode is on.

Where the book teaches it

Related terms

@custom-variantcolor-schemeVariant