dark mode

A colour theme with light text on dark backgrounds, offered alongside the usual light theme.

In more detail

Operating systems let users choose light or dark, and pages can read that choice with the prefers-color-scheme media query. Many apps also offer a three-way toggle: light, dark or follow the system. With semantic tokens, dark mode only repoints tokens such as surface and text to different palette values.

Related terms

Taught in

References