## Token intent

Which token to reach for, and what it is most often confused with. Generated from `src/themes/token-docs.ts`; the full data is `registry.json → tokens`.

### semantic (49)

- **`background`** — The page. The furthest-back surface in the page register. *Use for:* The document body, and any surface meant to read as 'the page itself'. Never anything that floats: background is the BOTTOM of the surface stack (background < card < popover in every dark mode), so a floating panel painted with it reads as a hole beneath the cards it hovers over.
    - **Not** `popover` for anything floating, `card` for a bounded block on the page. `canvas`. `canvas` is the *work* surface in a tool — the artboard being edited — which is not the page behind the UI. Using `background` for an artboard makes the thing being edited indistinguishable from the chrome around it.
- **`foreground`** — The default ink, for `background`. *Use for:* Body text and any content sitting directly on the page.
    - **Not** any other surface's ink. On `card`, `popover`, `panel` or a tone, use that surface's own `-foreground`.
- **`card`** — A raised content container on the page. *Use for:* A bounded block of related content on a page: an article teaser, a settings group, a stat panel.
    - **Not** `popover`. A card sits *in* the document flow; a popover floats above it and needs its own elevation and border treatment. And never inside a docked panel — use `panel` surfaces and `PanelSection`; a card in a 240px panel spends its border and inset on nothing. Never rely on `card` as a FILL to separate something from the page: a preset's `card` can equal `background`, because a card separates by its border. A track, well or pad that must read with no border is `muted`.
- **`card-foreground`** — Ink paired with `card`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `card`. Use them as a pair — `bg-card text-card-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`popover`** — A floating surface: menu, popover, tooltip body, select list, dialog, and any persistent floating panel (an inspector, a toolbar over a canvas). *Use for:* Anything rendered in a layer above the page that needs its own background, dismissible or not. The test is elevation: if it floats over content (`shadow-md` or higher, fixed or absolutely positioned above the page), it is popover. Pair with `text-popover-foreground`.
    - **Not** `card` and `background`. The distinction is elevation, not shape or lifetime: a panel that stays open is still floating. `background` is the page ground and `card` sits on it; both read as sunk under a floating panel. In light mode several presets make all three equal, so a floating surface also needs its edge (ring or border) and shadow, never the fill alone.
- **`popover-foreground`** — Ink paired with `popover`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `popover`. Use them as a pair — `bg-popover text-popover-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`muted`** — A recessed surface. Quieter than the page, not interactive. *Use for:* An inset well: a code block background, a disabled field, a read-only region, a table's zebra stripe, a segmented-control track. On the page it always differs from `background`. Inside any OTHER surface (a card, a popover, a floating panel) use the `sable-well` utility instead: it derives the well from the surface it sits in, so it is the same visible step everywhere, whereas `muted` can land within a step of a popover in some dark modes. Never compensate with an outline on every well — that turns a panel into a stack of boxes.
    - **Not** `secondary` and `accent`. All three are near-identical in most themes, which is exactly why the rule is by ROLE: `muted` is *recessed and inert*, `secondary` is a *control fill*, `accent` is a *transient state*. Pick by what the surface does, never by which looks right — they diverge in other themes.
- **`muted-foreground`** — De-emphasised ink. The single most-used token after `foreground`. *Use for:* Secondary text: captions, helper text, placeholder-adjacent labels, a property name next to its value, timestamps.
    - **Not** `foreground` at reduced opacity. Opacity on text compounds unpredictably against whatever is behind it and can fall below the contrast floor; this token is a tuned value that does not.
- **`border`** — The default hairline. Tuned to be subtle. *Use for:* Input outlines, badge edges, card borders — chrome that should not draw the eye.
    - **Not** `border-strong`. Reach for `border-strong` when the line carries *structure* (a grid rule, a table divider, a section separator) and for `border` when it merely bounds a control.
- **`border-strong`** — A structural divider. Visibly stronger than `border`. *Use for:* Grid lines, table rules, separators between major sections.
    - **Not** `border`. If removing the line would make the layout ambiguous, it is structural and belongs here.
- **`input`** — The outline of a form control specifically. *Use for:* Text inputs, textareas and selects (through `field-border`, which derives from it). Not the edge of a checkbox, radio or switch — that is `control-border`.
    - **Not** `border`. They are often the same value, but a theme is entitled to make form controls read differently from other chrome, and only this token gives it the hook.
- **`control-border`** — The resting edge of a control whose outline is the whole control. Held to 3:1 (WCAG 1.4.11) on every surface. *Use for:* An unchecked checkbox, an unselected radio, an off switch track, a selection card's check or radio mark — anywhere removing the edge would make the control disappear.
    - **Not** `input`. A text field is also found by its fill, caret and placeholder, so its outline may stay quiet; a checkbox has nothing else, and at `input`'s strength it measures about 1.4:1.
- **`ring`** — The focus indicator colour. *Use for:* Only for `focus-visible`. Nothing else.
    - **Not** `primary`. Focus must remain distinguishable from selection; if the ring is the same colour as a selected state, a keyboard user cannot tell where focus is.
- **`primary`** — The one high-emphasis action colour. *Use for:* The single most important action on a surface — one per view. A submit button, the primary CTA.
    - **Not** `accent`. `primary` says *do this*; `accent` says *this is the current one*. Two primary buttons on one screen means neither is primary.
- **`primary-foreground`** — Ink paired with `primary`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `primary`. Use them as a pair — `bg-primary text-primary-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`secondary`** — A lower-emphasis control fill. *Use for:* A secondary button, a segmented control's resting fill, a neutral chip.
    - **Not** `muted`. `secondary` is for something you can *press*; `muted` is for a surface that is inert. See the `muted` note — role, not appearance.
- **`secondary-foreground`** — Ink paired with `secondary`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `secondary`. Use them as a pair — `bg-secondary text-secondary-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`accent`** — A transient state fill: hover, selected, current. *Use for:* The fill behind a hovered menu item, a selected list row, the active segment of a switcher.
    - **Not** `primary` for selection, and `muted` for hover. `accent` is the state layer; the other two are emphasis and recession respectively.
- **`accent-foreground`** — Ink paired with `accent`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `accent`. Use them as a pair — `bg-accent text-accent-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`destructive`** — Irreversible or data-losing actions. *Use for:* Delete, revoke, remove, discard — and the error state of a form field.
    - **Not** `tone-warning`. Destructive means *this destroys something*; warning means *be careful*. A confirmation dialog's action is destructive; the banner explaining it is a warning.
- **`destructive-foreground`** — Ink paired with `destructive`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `destructive`. Use them as a pair — `bg-destructive text-destructive-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`success`** — A confirmed, completed, healthy state. *Use for:* A passing check, a saved indicator, a healthy status dot.
    - **Not** `tone-info`. Success asserts an outcome; info asserts a fact. 'Saved' is success, '3 items' is info.
- **`success-foreground`** — Ink paired with `success`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `success`. Use them as a pair — `bg-success text-success-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`tone-3`** — Extra colour 3: the third, and usually the quietest, category in a classified set. *Use for:* A third category, or the baseline one that means 'nothing special'.
    - **Not** `muted`. A tone is *semantic classification* that a reader is meant to decode; `muted` is de-emphasis. If a legend would help the user, it is a tone.
- **`tone-2`** — Extra colour 2: the second category in a classified set. *Use for:* A second category, distinct from tone-1, in a badge, dot, card or chart.
    - **Not** `tone-1`. Distinct categories must stay visually distinct.
- **`tone-1`** — Extra colour 1, the lead of the three a theme defines beyond its status colours. The numbered tones exist so a product can classify content (categories, plans, series) without inventing colours per feature; the product decides what each one means. *Use for:* The most prominent category in a classified set, or the first series of a chart.
    - **Not** `primary`. A tone classifies the *thing*; primary drives an *action*. A category badge is not a button.
- **`tone-info`** — Domain tone: neutral, factual information. *Use for:* An informational note or banner, a neutral count, a 'did you know' surface.
    - **Not** `success`. Info states a fact; success states an outcome. Also not `primary` — an info banner is not an action.
- **`tone-warning`** — Domain tone: proceed with care, nothing is broken yet. *Use for:* A caution banner, a nearing-limit indicator, a soloed/overridden state in a tool.
    - **Not** `destructive`. Warning is *advisory*; destructive is *consequential*. If nothing is lost by continuing, it is a warning.
- **`highlight`** — A marker on content the user is meant to notice — search hits, diffs, annotations. *Use for:* Highlighting matched text, a changed line, a called-out passage.
    - **Not** `accent`. `accent` is UI state that follows the pointer or selection; `highlight` marks the *content* and persists independently of interaction.
- **`tone-3-foreground`** — Ink paired with `tone-3`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `tone-3`. Use them as a pair — `bg-tone-3 text-tone-3-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`tone-2-foreground`** — Ink paired with `tone-2`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `tone-2`. Use them as a pair — `bg-tone-2 text-tone-2-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`tone-1-foreground`** — Ink paired with `tone-1`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `tone-1`. Use them as a pair — `bg-tone-1 text-tone-1-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`tone-info-foreground`** — Ink paired with `tone-info`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `tone-info`. Use them as a pair — `bg-tone-info text-tone-info-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`tone-warning-foreground`** — Ink paired with `tone-warning`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `tone-warning`. Use them as a pair — `bg-tone-warning text-tone-warning-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`highlight-foreground`** — Ink paired with `highlight`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `highlight`. Use them as a pair — `bg-highlight text-highlight-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`destructive-text`** — `destructive` drawn on a surface: text, icons, borders and focus rings. *Use for:* Write `text-destructive`, `border-destructive` or `ring-destructive` — they read this token; only `bg-destructive` reads the fill.
    - **Not** `destructive` itself for marks on a page. The fill is tuned to carry a label (dark mode lowers it under white ink), which can leave it too dark to read on a dark card.
- **`success-text`** — `success` drawn on a surface: text, icons, borders and focus rings. *Use for:* Write `text-success`, `border-success` or `ring-success` — they read this token; only `bg-success` reads the fill.
    - **Not** `success` itself for marks on a page. The fill is tuned to carry a label (dark mode lowers it under white ink), which can leave it too dark to read on a dark card.
- **`tone-warning-text`** — `tone-warning` drawn on a surface: text, icons, borders and focus rings. *Use for:* Write `text-tone-warning`, `border-tone-warning` or `ring-tone-warning` — they read this token; only `bg-tone-warning` reads the fill.
    - **Not** `tone-warning` itself for marks on a page. The fill is tuned to carry a label (dark mode lowers it under white ink), which can leave it too dark to read on a dark card.
- **`tone-info-text`** — `tone-info` drawn on a surface: text, icons, borders and focus rings. *Use for:* Write `text-tone-info`, `border-tone-info` or `ring-tone-info` — they read this token; only `bg-tone-info` reads the fill.
    - **Not** `tone-info` itself for marks on a page. The fill is tuned to carry a label (dark mode lowers it under white ink), which can leave it too dark to read on a dark card.
- **`overlay`** — A scrim over the page behind a modal, and the wash behind media chrome. *Use for:* Dialog and sheet backdrops, letterboxing, a pill sitting on top of an image.
    - **Not** `bg-black/50`. Pure black is never right — it crushes whatever is behind it, and a theme cannot tune it. This token is the sanctioned answer, which is why `raw-black-white` is a lint rule.
- **`overlay-foreground`** — Ink paired with `overlay`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `overlay`. Use them as a pair — `bg-overlay text-overlay-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`sidebar`** — The app sidebar's own surface. Heads a small family (`sidebar-*`) that lets navigation chrome diverge from the page without overriding page tokens. *Use for:* The `Sidebar` / `SideNav` background.
    - **Not** `card`. A sidebar is persistent chrome, not content — a theme frequently wants it a different tone from the cards inside the page it frames.
- **`sidebar-foreground`** — Ink paired with `sidebar`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `sidebar`. Use them as a pair — `bg-sidebar text-sidebar-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`sidebar-primary`** — The high-emphasis colour *within* the sidebar. *Use for:* The active nav item's fill, when the sidebar has its own tonal world.
    - **Not** `primary`. Page primary on a sidebar surface may not clear contrast; this token is tuned against `sidebar`.
- **`sidebar-primary-foreground`** — Ink paired with `sidebar-primary`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `sidebar-primary`. Use them as a pair — `bg-sidebar-primary text-sidebar-primary-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`sidebar-accent`** — The state layer within the sidebar — hover, current. *Use for:* Hovered or current nav items.
    - **Not** `accent`, for the same contrast reason as `sidebar-primary`.
- **`sidebar-accent-foreground`** — Ink paired with `sidebar-accent`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `sidebar-accent`. Use them as a pair — `bg-sidebar-accent text-sidebar-accent-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`sidebar-border`** — Hairlines inside the sidebar. *Use for:* Dividers between nav sections, and the sidebar's own trailing edge.
    - **Not** `border`, which is tuned against page surfaces.
- **`sidebar-ring`** — Focus indicator inside the sidebar. *Use for:* `focus-visible` on nav items.
    - **Not** `ring`, which is tuned against page surfaces.

### typography (25)

- **`display-4xl`** — The largest type: display-lg through display-4xl. Marketing-scale, one per view at most. *Use for:* A landing page hero, a section opener on a brand surface.
    - **Not** `heading-1` for page titles. Display is a *statement*; headings are *structure*. A settings page titled in display-3xl looks like an advert.
- **`display-3xl`** — The largest type: display-lg through display-4xl. Marketing-scale, one per view at most. *Use for:* A landing page hero, a section opener on a brand surface.
    - **Not** `heading-1` for page titles. Display is a *statement*; headings are *structure*. A settings page titled in display-3xl looks like an advert.
- **`display-2xl`** — The largest type: display-lg through display-4xl. Marketing-scale, one per view at most. *Use for:* A landing page hero, a section opener on a brand surface.
    - **Not** `heading-1` for page titles. Display is a *statement*; headings are *structure*. A settings page titled in display-3xl looks like an advert.
- **`display-xl`** — The largest type: display-lg through display-4xl. Marketing-scale, one per view at most. *Use for:* A landing page hero, a section opener on a brand surface.
    - **Not** `heading-1` for page titles. Display is a *statement*; headings are *structure*. A settings page titled in display-3xl looks like an advert.
- **`display-lg`** — The largest type: display-lg through display-4xl. Marketing-scale, one per view at most. *Use for:* A landing page hero, a section opener on a brand surface.
    - **Not** `heading-1` for page titles. Display is a *statement*; headings are *structure*. A settings page titled in display-3xl looks like an advert.
- **`heading-1`** — Structural document headings, heading-1 through heading-4. *Use for:* The real outline of a page. Pick the level by depth in the document, not by desired size.
    - **Not** `display` for size, or `title` for structure. If it belongs in a table of contents, it is a heading.
- **`heading-2`** — Structural document headings, heading-1 through heading-4. *Use for:* The real outline of a page. Pick the level by depth in the document, not by desired size.
    - **Not** `display` for size, or `title` for structure. If it belongs in a table of contents, it is a heading.
- **`heading-3`** — Structural document headings, heading-1 through heading-4. *Use for:* The real outline of a page. Pick the level by depth in the document, not by desired size.
    - **Not** `display` for size, or `title` for structure. If it belongs in a table of contents, it is a heading.
- **`heading-4`** — Structural document headings, heading-1 through heading-4. *Use for:* The real outline of a page. Pick the level by depth in the document, not by desired size.
    - **Not** `display` for size, or `title` for structure. If it belongs in a table of contents, it is a heading.
- **`title-lg`** — The title of a *component*, not of a document. *Use for:* A card's heading, a dialog title, a section label inside a panel.
    - **Not** `heading-*`. A card title is not part of the page outline, and using a heading tier for it produces a document structure that lies to a screen reader's heading navigation.
- **`title-sm`** — The title of a *component*, not of a document. *Use for:* A card's heading, a dialog title, a section label inside a panel.
    - **Not** `heading-*`. A card title is not part of the page outline, and using a heading tier for it produces a document structure that lies to a screen reader's heading navigation.
- **`body-lg`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`body-md`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`body-sm`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`body-xs`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`label-lg`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`label-md`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`label-sm`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`label-xs`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`caption`** — The smallest page-register tier. Metadata beneath something. *Use for:* Image captions, timestamps, footnotes, a card's secondary line.
    - **Not** `text-overline`. Caption sits *below* and explains; overline sits *above* and categorises.
- **`mono-xl`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`mono-lg`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`mono-md`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`mono-caption`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`mono-sm`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.

### radii (7)

- **`none`** — Square. A deliberate 0. *Use for:* Edge-to-edge surfaces, table cells, anything whose corners meet another element's corners.
    - **Not** omitting a radius class. Stating `none` records the intent; omitting it means the next person cannot tell square-on-purpose from square-by-accident.
- **`xs`** — The tightest real corner. Reads as 'crisp', not 'rounded'. *Use for:* Tool-chrome controls, tree rows, small swatches — anywhere the radius should be felt but not seen. The workspace register runs ~5px on essentially everything.
    - **Not** `sm`. In a 24px-tall control an `sm` radius starts to read as a lozenge.
- **`sm`** — The default control corner. *Use for:* Inputs, buttons in the page register, badges, small cards.
- **`md`** — A container corner. *Use for:* Cards, panels, popovers, menus — surfaces that hold other things.
    - **Not** `sm`. A container should be softer than the controls inside it, or the nesting reads inverted.
- **`lg`** — A prominent container corner. *Use for:* Dialogs, sheets, hero media, feature cards.
- **`xl`** — The softest rectangular corner. A styling statement. *Use for:* Marketing surfaces, large imagery, a theme that wants a soft character.
    - **Not** `full`. `xl` is still a rectangle with soft corners; `full` is a capsule. Using `xl` on a small element makes it look like a failed capsule.
- **`full`** — A capsule or circle — radius exceeds half the height. *Use for:* Avatars, status dots, notification badges, pills, and page-register actions (the 'round action in a tight container' contrast that says *this is a control*).
    - **Not** any fixed radius, for circles. And NOT in tool chrome: neither Figma nor Paper has a single pill in its chrome, which is why the compact density scope flattens `--button-radius` to ~5px.

### layout (11)

- **`rhythm-unit`** — The vertical rhythm base — one baseline step (8px at the default scale). Every vertical measure is a multiple of it, and it follows the type and the density control. *Use for:* Through `Stack`/`Row`/`Grid` gap numbers, which are rhythm units rather than pixels. A gap of 2 is 16px at the default scale, and grows or tightens with density.
    - **Not** arbitrary vertical spacing. The rhythm is what makes unrelated sections of a page feel like one document.
- **`grid-columns`** — The column count of the content grid — 12. *Use for:* `Grid`/`Columns`, WITHIN a region, for genuinely multi-column content.
    - **Not** using a column span as the page's reading width. A span is not a measure — see `measure-prose`.
- **`grid-gutter`** — The gap between grid columns and rows — 2 baseline steps on phones, 3 on desktop, snapped to the step. *Use for:* `Grid`/`Columns` spacing.
- **`page-inset`** — The page's outer breathing room, left and right. *Use for:* The gutter between content and the viewport edge, at every breakpoint.
    - **Not** a global max-width. Sable caps width per REGION by role, never once for the whole page.
- **`measure-prose`** — The maximum comfortable line length for prose, in `ch`. *Use for:* Any long-form text column.
    - **Not** a layout width. Measure and width are different things: a wide region can still hold a narrow measure, and capping the region instead makes everything else in it too narrow.
- **`region-form`** — The region cap for a form — narrow, because fields should not run long. *Use for:* Settings pages, auth screens, any column of inputs.
    - **Not** `region-content`. A 700px-wide text input is harder to use, not more generous.
- **`region-feed`** — The region cap for a scrolling list of items. *Use for:* Feeds, timelines, search results.
- **`region-content`** — The default region cap for mixed page content. *Use for:* Article bodies with media, documentation, most product pages.
- **`region-wide`** — A wide region for dense or tabular content. *Use for:* Data tables, dashboards, galleries — content that genuinely needs the room.
- **`region-full`** — No cap. Edge to edge. *Use for:* Hero imagery, full-bleed sections, and a workspace, which is always edge-to-edge.
- **`region-ultrawide (legacy — prefer region-full)`** — Deprecated. Kept so existing usage keeps resolving. *Use for:* Nothing new. Use `region-full`.
    - **Not** `region-full`, which is what this became.

### typographyOverrides (61)

- **`type-base`** — The base size the page type scale is built on, as a unitless px number — 16 by default. Every page tier keeps its ratio to it, so `14` rebuilds the whole scale at 14, and the baseline step and spacing follow the body down. *Use for:* When the product asks for smaller or larger type everywhere: a dense technical tool at 13-14, a reading product at 17. Set it on :root, a theme scope or a preset (`tokens.shared["type-base"]: "14"`), not per component.
    - **Not** Changing the root font-size, which also moves every rem the app wrote and the control ladder; or overriding tier sizes one by one, which breaks the ratios between them. Unitless: `14`, never `14px`.
- **`type-display-4xl-size`** — The largest type: display-lg through display-4xl. Marketing-scale, one per view at most. *Use for:* A landing page hero, a section opener on a brand surface.
    - **Not** `heading-1` for page titles. Display is a *statement*; headings are *structure*. A settings page titled in display-3xl looks like an advert.
- **`type-title-lg-size`** — The title of a *component*, not of a document. *Use for:* A card's heading, a dialog title, a section label inside a panel.
    - **Not** `heading-*`. A card title is not part of the page outline, and using a heading tier for it produces a document structure that lies to a screen reader's heading navigation.
- **`type-title-sm-size`** — The title of a *component*, not of a document. *Use for:* A card's heading, a dialog title, a section label inside a panel.
    - **Not** `heading-*`. A card title is not part of the page outline, and using a heading tier for it produces a document structure that lies to a screen reader's heading navigation.
- **`type-body-lg-size`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-lg-weight`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-lg-leading`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-lg-tracking`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-md-size`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-md-weight`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-md-leading`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-md-tracking`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-sm-size`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-sm-weight`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-sm-leading`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-sm-tracking`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-xs-size`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-xs-weight`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-xs-leading`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-body-xs-tracking`** — The reading tier: body-lg through body-xs. Prose and long-form content. *Use for:* Paragraphs, descriptions, help text, anything a person reads a sentence of.
    - **Not** `label-*`. Body is for reading, label is for naming. A form's help text is body; the field's name is a label. Getting this wrong is why some UIs feel like a wall of controls.
- **`type-label-lg-size`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-lg-weight`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-lg-leading`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-lg-tracking`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-md-size`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-md-weight`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-md-leading`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-md-tracking`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-sm-size`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-sm-weight`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-sm-leading`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-sm-tracking`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-xs-size`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-xs-weight`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-xs-leading`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-xs-tracking`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-label-xs-transform`** — The naming tier: label-lg through label-xs. Short, denser, slightly heavier. *Use for:* Field labels, table column headers, button text, tab titles, chip text.
    - **Not** `body-*` at the same size. Labels carry more weight and tighter leading because they are scanned, not read.
- **`type-caption-size`** — The smallest page-register tier. Metadata beneath something. *Use for:* Image captions, timestamps, footnotes, a card's secondary line.
    - **Not** `text-overline`. Caption sits *below* and explains; overline sits *above* and categorises.
- **`type-caption-weight`** — The smallest page-register tier. Metadata beneath something. *Use for:* Image captions, timestamps, footnotes, a card's secondary line.
    - **Not** `text-overline`. Caption sits *below* and explains; overline sits *above* and categorises.
- **`type-caption-leading`** — The smallest page-register tier. Metadata beneath something. *Use for:* Image captions, timestamps, footnotes, a card's secondary line.
    - **Not** `text-overline`. Caption sits *below* and explains; overline sits *above* and categorises.
- **`type-caption-tracking`** — The smallest page-register tier. Metadata beneath something. *Use for:* Image captions, timestamps, footnotes, a card's secondary line.
    - **Not** `text-overline`. Caption sits *below* and explains; overline sits *above* and categorises.
- **`type-mono-xl-size`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-xl-weight`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-xl-leading`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-xl-tracking`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-lg-size`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-lg-weight`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-lg-leading`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-lg-tracking`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-md-size`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-md-weight`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-md-leading`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-md-tracking`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-caption-size`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-caption-weight`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-caption-leading`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-caption-tracking`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-sm-size`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-sm-weight`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-sm-leading`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.
- **`type-mono-sm-tracking`** — The monospace family: mono-xl through mono-sm, plus mono-caption. *Use for:* Code, identifiers, hashes, keyboard keys, and any figure where digits must align in a column.
    - **Not** the sans tiers for numeric data. Proportional digits make a column of numbers ragged; that is what `text-ui-num` solves in chrome and mono solves on a page.

### derived (28)

- **`canvas`** — The WORK surface — the artboard, the document being edited. *Use for:* Behind the thing the tool operates on. `WorkspaceCanvas` uses it.
    - **Not** `background`. The thing being edited is not the page behind the UI, and collapsing the two makes the document indistinguishable from its chrome.
- **`canvas-foreground`** — Ink paired with `canvas`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `canvas`. Use them as a pair — `bg-canvas text-canvas-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`panel`** — Docked chrome: the surface of a side panel or an inspector. *Use for:* `Panel`, `WorkspaceBar`, `StatusBar` backgrounds.
    - **Not** `card`. Panels are chrome and sit in a deliberately compressed tonal band — see DESIGN.md → Registers. A card's elevation language is wrong here.
- **`panel-foreground`** — Ink paired with `panel`. Evaluate the rendered contrast together; never choose it independently. *Use for:* Whenever the background is `panel`. Use them as a pair — `bg-panel text-panel-foreground` — so a theme can retune the surface and the ink together.
    - **Not** `foreground`. That is the ink for `background` only; on any other surface it is a contrast gamble that happens to pass in the default theme and fails in another.
- **`panel-raised`** — One step up from `panel`: a selected row, a hover fill, a nested well. *Use for:* Tree row selection, hovered panel rows, and the light square of a checkerboard.
    - **Not** `accent`. In a workspace the tonal band is only a few units wide; `accent` is a page-register step and reads as a shout in chrome.
- **`panel-field`** — The inset fill of a compact control docked in a panel. *Use for:* The `size="xs"` field rung (Input, SelectTrigger, ScrubField share it) and `<Button variant="field">`. A panel control of your own that should sit among those fields.
    - **Not** `canvas`. `canvas` names the work surface, and its step off the panel is too faint to read as a field in dark mode. This one is mixed from the panel itself, so it follows a theme that retunes the panel. Tune it with `--theme-panel-field`.
- **`panel-field-hover`** — The hover step of a `panel-field` control. *Use for:* `hover:bg-panel-field-hover` on anything filled with `panel-field`.
    - **Not** `hover:bg-panel-raised`. A fixed surface token as a hover is what the surface-hover lint rejects; this one is defined against the panel field it steps from.
- **`hairline`** — The 1px structural line that carries all separation in tool chrome. *Use for:* Between panel sections, under a toolbar, above a status bar.
    - **Not** a bigger tonal step. This is one of the two rules the workspace register deliberately reverses: on a page prefer space or tone over a line, in chrome the hairline *is* the structure.
- **`hairline-strong`** — A hairline that must be seen — an input edge, a swatch ring. *Use for:* Bounding a control whose fill is arbitrary (a colour swatch) or user content.
    - **Not** `hairline`, when the line would otherwise disappear against what it bounds.
- **`border-floating`** — The edge of a floating surface. Fainter than `border`: the shadow carries the elevation. *Use for:* Every floating surface — popover, menu, select, tooltip, dialog, sheet, toast, a floating panel — as `border-border-floating` or `ring-border-floating`, together with `bg-popover` and a `shadow-md`+ shadow. Derived for every theme (a faint alpha of the foreground); a theme may tune it with `--theme-border-floating`.
    - **Not** `border`. A full hairline plus a shadow stacks into a heavy outline around anything that floats. `border` is for resting edges: inputs, cards, badges.
- **`field`** — The fill of a text field: Input, Textarea, Select, Combobox, SearchInput, InputGroup, ChatComposer. *Use for:* Read by every field through its shell, so you rarely name it. Derived for every theme (`card`, an outlined field on the card); a theme fills its fields instead with `--theme-field: var(--muted)` and `--theme-field-border: transparent`, and every field changes at once. Name it only for a field-shaped surface of your own that must match.
    - **Not** `card` or `muted` on a hand-built field. A field that paints `card` keeps its outline when the theme fills the rest, and one that paints `muted` stays filled when the theme outlines them.
- **`field-border`** — The outline of a text field. Derived from `input`; `transparent` in a theme with filled fields. *Use for:* With `field`, on the same field-shaped surfaces. Tune it with `--theme-field-border`.
    - **Not** `input` on a text field. `input` stays the theme's outline colour for form chrome; this is the field's outline, which a filled theme turns off.
- **`shell-ground`** — The ground of an inset app frame: the rail and the gap around the raised main panel. *Use for:* Painted by `<AppShell frame="inset">` and the Sidebar in its slot; you rarely name it. Derived for every theme as one step off `sidebar` toward its ink, so the panel reads as lifted even where the rail is the page colour. Tune it with `--theme-shell-ground`.
    - **Not** `sidebar` or `canvas` behind an inset panel. `sidebar` is the page colour in most themes, so the panel would sit on itself; `canvas` is a workspace's artboard, not app chrome.
- **`destructive-mark`** — `destructive` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-destructive-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-destructive-mark` or gets one derived from `destructive`.
    - **Not** `bg-destructive` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-destructive` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`success-mark`** — `success` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-success-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-success-mark` or gets one derived from `success`.
    - **Not** `bg-success` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-success` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`tone-warning-mark`** — `tone-warning` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-tone-warning-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-tone-warning-mark` or gets one derived from `tone-warning`.
    - **Not** `bg-tone-warning` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-tone-warning` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`tone-info-mark`** — `tone-info` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-tone-info-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-tone-info-mark` or gets one derived from `tone-info`.
    - **Not** `bg-tone-info` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-tone-info` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`tone-1-mark`** — `tone-1` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-tone-1-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-tone-1-mark` or gets one derived from `tone-1`.
    - **Not** `bg-tone-1` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-tone-1` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`tone-2-mark`** — `tone-2` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-tone-2-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-tone-2-mark` or gets one derived from `tone-2`.
    - **Not** `bg-tone-2` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-tone-2` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`tone-3-mark`** — `tone-3` at graphic strength: the same hue lifted and saturated, for a mark that carries no text. *Use for:* A meter's or progress fill, a segmented bar, a status dot, a chart series, and the soft tint behind a badge or note (`bg-tone-3-mark/15`). Held to 2:1 on the page — visibility, not a text ratio — because each of these sits beside text that says the same thing. Every bundled theme tunes its own; a preset sets `--theme-tone-3-mark` or gets one derived from `tone-3`.
    - **Not** `bg-tone-3` on a mark. The fill is pinned dark enough to carry a white label, so a meter or dot painted with it reads brown, forest or plum. And not for text — that is `text-tone-3` — nor for a graphic that is the only carrier of its meaning, which owes 3:1 (WCAG 1.4.11): use the fill or add the text.
- **`chart-1`** — Slot 1 of the categorical chart palette: the colour series 1 takes when it names none. *Use for:* Read through `chartColor(0)` (or `var(--chart-1)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-2`** — Slot 2 of the categorical chart palette: the colour series 2 takes when it names none. *Use for:* Read through `chartColor(1)` (or `var(--chart-2)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-3`** — Slot 3 of the categorical chart palette: the colour series 3 takes when it names none. *Use for:* Read through `chartColor(2)` (or `var(--chart-3)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-4`** — Slot 4 of the categorical chart palette: the colour series 4 takes when it names none. *Use for:* Read through `chartColor(3)` (or `var(--chart-4)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-5`** — Slot 5 of the categorical chart palette: the colour series 5 takes when it names none. *Use for:* Read through `chartColor(4)` (or `var(--chart-5)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-6`** — Slot 6 of the categorical chart palette: the colour series 6 takes when it names none. *Use for:* Read through `chartColor(5)` (or `var(--chart-6)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-7`** — Slot 7 of the categorical chart palette: the colour series 7 takes when it names none. *Use for:* Read through `chartColor(6)` (or `var(--chart-7)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.
- **`chart-8`** — Slot 8 of the categorical chart palette: the colour series 8 takes when it names none. *Use for:* Read through `chartColor(7)` (or `var(--chart-8)`) for a series with no meaning attached — a category, a product, a region — and to hand the theme's palette to a charting library. Take the slots in order: the set is validated as neighbours, so skipping slots can put two similar hues side by side. Past eight series, fold the rest into "Other".
    - **Not** A tone mark (`tone-1-mark`, `success-mark`) when the series MEANS something — revenue is the brand, errors are destructive. The chart palette is for categories with no meaning, and a reader will not map its colours to status. And not a palette family step (`blue-500`): those are tuned for washes and text, not for separating eight neighbours under colour-blindness.

### Generated palette

More colour for apps, generated from the active theme: neutral and eight hue families, plus a 50–950 scale under every tone. Each family keeps its hue and leans toward the brand (half the gap, at most 15°; --theme-palette-harmony scales it, 0 = own hues). Neutral is the theme's --background mixed toward its --foreground. Steps follow the mode: low steps sit near the page and high ones far from it in light and dark alike, so a pair needs no dark: variant. For decorative and categorical colour (tags, avatars, labels, legends, illustration); surfaces, text and actions take roles. Components never name a step.

- **Families:** `neutral`, `red`, `orange`, `yellow`, `green`, `teal`, `blue`, `purple`, `pink`, each 50–950.
- **Tone scales:** `tone-1-*`, `tone-2-*`, `tone-3-*`, `tone-info-*`, `tone-warning-*`, `success-*`, `destructive-*`; one ladder of depths shared by every tone, with the tone exactly on the step nearest its own lightness (500 for a mid tone, 800 for a light status colour in dark mode). Use the tone token itself for the tone.
- **Use as:** bg-blue-100, text-blue-800, border-neutral-200, bg-tone-1-100 — or var(--teal-500). Tailwind's other families (slate, gray, zinc, stone, amber, lime, emerald, cyan, sky, indigo, violet, fuchsia, rose) are switched off.
- **tag / label:** bg-<family>-100 text-<family>-800 (held to 4.5:1 in every theme and mode)
- **text on the page:** text-<family>-700
- **solid fill:** bg-<family>-700 text-<family>-50
- **hairline:** border-<family>-300
- **Components:** Badge, Pill and StatusDot take a family as tone (tone="blue"): a category with no meaning attached.
- **Slots:** data-palette="<family>" on an element fills these from that family, so one set of classes paints any family: bg-palette-wash text-palette-text.