Loading the page…
Source: ddx-documentation/adr/0012-density-names.md
density axis values in (compact · comfortable · spacious)ddx-web/DESIGN.md §5 (density: cosy), rule §24Three density vocabularies existed: the contract (compact | comfy | cozy), ADR 0009
(compact | comfortable | spacious) and lib/density.ts. DESIGN.md is the token authority.
The one vocabulary is compact | cosy | large (DESIGN.md frontmatter density: cosy).
Code: ddx-web/src/components/primitives/switchers.ts (DENSITY_OPTIONS), the settings
ui.density value, the density cookie and data-density on <html>.
comfy / cozy survive only as input aliases in lib/theme/density.ts (toDensity()) and as
legacy CSS selectors in globals.css (DESIGN.md E5). No new code writes them.density prop in the inventory uses the three names above.Last reconciled: 2026-10-23 · task 043