Skip to content

Glossary: Tailwind CSS

color-scheme

Also written: scheme-light-dark, scheme-light, scheme-dark

A CSS property that tells the browser to draw its own parts, like scroll bars and form controls, in a light or dark theme. Tailwind's `scheme-light-dark` on `<html>` sets it.

Where the book teaches it

Related terms

Dark mode