---
type: Behavior
title: Color modes
description: "Dark and light are both first-class. A surface opens in the visitor's device mode, and a switch lets anyone override it; the choice is remembered."
status: released
tags: [color]
---

**Both modes ship.** Every color in the system resolves in each mode, so every surface ships both. Dark isn't an invert of light: the scales are solved per mode, and chroma is lowered in dark.

**Setting the mode.** Light is on `:root` and `[data-theme="light"]`; dark is `[data-theme="dark"]` on `<html>`. A surface opens in whatever mode the visitor's device is set to. A subtle switch (◐, top right) lets anyone override it, and the choice is remembered.

**Islands.** A block can re-assert a mode on itself (`data-theme="light"` on a card inside a dark page) and keeps its own accent roles.

**Check both.** Verify light and dark before handing anything over.

*Open:* single-mode deliverables (a social card, a slide) have no stated rule for which mode to pick. The social family is dark.
