Status Indicators Use the DDD Indicator Contract
RULES.md
Any badge that says how a thing is doing (a page or content check, a connection or service starting, running or offline, a person's presence, an unread or findings count) is the DDD indicator: `renderDDDIndicator()` with `DDDIndicatorTokens` and `DDDIndicatorStyles` from `@haxtheweb/d-d-d/lib/DDDIndicator.js`, never a coloured dot or pill an element draws itself. The icon is the thing and never changes; the badge sits in its corner. Top right is the status of the thing and counts (`fix` circle with !, `check` triangle with !, `clear` circle with a check, `working` arc, `count` 1-9 then 9+); bottom right is a person or a connection, where chat apps put presence, so an avatar can carry both (`online` dot, `busy` bar, `off` hollow ring, `offline` ring with a slash). Every state has its own shape and glyph and whatever shows the badge says the state in words (accessible name, tooltip), so colour is never the only signal. Colours are `--ddd-indicator-*` light-dark pairs taken from the DDD palette that follow the surface behind the badge, not the page: dark chrome sets `color-scheme: dark` and gets the dark fills. Every fill clears 3:1 on its surface and every glyph 4.5:1 on its fill (why light warning is Roar golden with Potential midnight on it, and dark error is Discovery coral). The badge is cut out of the icon by a 2px ring in the surface colour: whatever draws it sets `--ddd-indicator-ring` to its own background. Indicators are separate from `--ddd-status-*`, which say whether an answer is right; never reuse one for the other. When a status gets worse the badge beats once (DDD motion `beat`); getting better is quiet, and nothing moves under reduced motion. Exported in the DTCG tokens as the `indicator` family. First consumers: the HAX editor's page check (haxtheweb/issues#3437) and, to adopt, browser.hax.cloud's starting/running light (`working` while starting, `online` when running). See "Status indicators" in `design-system/WARP.md`. In PRAW RULES.md (scope: design-system). Nothing enforces this yet.
Status: gap
Connects to
- Design System Standards includes this