Dark Mode Toggle

Two takes on light-dark(): color tokens are declared once as light-dark(light, dark), and whichever half applies depends entirely on the color-scheme of the element using them. No gray primitives to override, no custom-property cross-element surprises.

Auto: follows your system

No toggle here on purpose. This panel only sets color-scheme: light dark; the browser picks based on your OS or browser appearance setting.

9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
Standup
Design Review
Client Call

Manual override

Radios force color-scheme on this section directly, overriding the system default. The swatch on the right goes further: its background-image is itself a light-dark() pair, gated behind @supports for browsers that don't parse images inside it yet (Safari, as of this writing).

9 AM
10 AM
11 AM
12 PM
Standup
Design Review
background-image: light-dark(…)