Design system
Every colour, size, weight and duration in the iPhone app, the Android app, the admin app and this website resolves to the same file. This page set is generated from that file, so it cannot drift from what actually ships.
Source of truth: packages/design-tokens/tokens.json. This site reads dist/tokens.css and dist/tokens.ts, both generated by build-css.mjs, and CI fails if either is stale.
Each of these is checked by a script rather than trusted to discipline.
tokens.jsonThe single source of truth. Two layers: primitive values, semantic purposes.build-css.mjsResolves every alias and writes CSS custom properties and a typed mirror.tokens.cssThe only file on the web allowed to contain a literal colour.@theme inlineBinds Tailwind utilities to those properties, so bg-canvas is a variable.contrast-check.mjsMeasures every declared pair against WCAG 2.1 and exits non zero on a failure.Rule
It will not let a marketing page borrow a reserved colour. Teal means the crisis help card, and red letter means the words of Christ. If either appeared on a landing page to look attractive, the meaning would be spent by the time it mattered.