Skip to documentation
Design system / Sources & standards
Current repository source
ADR-0086-semantic-reading-rhythms.md
docs/decisions/ADR-0086-semantic-reading-rhythms.md
This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.
# ADR-0086: Semantic reading rhythms ## Status accepted ## Date 2026-10-07 ## Context The design system serves both sustained reading and compact administrative work. Fluid font sizes and semantic text roles describe hierarchy and purpose, but do not determine the appropriate distance between lines in every situation. Prescribing line-height values in an ADR makes ordinary visual tuning an architectural change and conflates text size with reading rhythm. ## Options considered - Keep a single compact rhythm for all body content. - Assign separate fixed typography systems to public and administrative routes. - Compose semantic tight and loose reading rhythms with the existing fluid text roles (chosen). ## Decision - Provide independent **tight** and **loose** semantic reading rhythms. Tight supports scanning and dense administrative content; loose supports sustained reading, explanatory prose and editorial introductions. Both may coexist on the same page. - Keep adjustable, unitless line-height values in theme primitives, semantic aliases in `src/theming/semantics/typography.css`, and utility registration in the existing Tailwind bridge. The ADR establishes intent and composition, not numeric values. - Expose the choice through a product-neutral `Text` atom's `rhythm` prop, independent of its size-role variant. The atom maps intent to theme-backed utilities on its own element. Native-element selection preserves paragraph, list and definition semantics without an extra wrapper. Selecting rhythm changes line height, not font size, weight, color, spacing, display or state. - Keep compact defaults and loose reading intent explicit at component/consumer boundaries. Do not add a rhythm prop to every control or use a route-wide provider to configure unrelated descendants. Internal utilities remain available as a foundation mechanism; the text atom owns their prop-to-style mapping. - Prefer loose for public-owned reading copy, including documentation. Compact application content keeps its existing treatment unless its owner deliberately selects a different rhythm. Catalogue reading surfaces are candidates for later owner-local adoption, not a blanket console override. - Apply reading choices at the content owner. Do not use route-wide descendant selectors, rewrite another component's internal styles, or impose a rhythm on live component specimens. Shared component changes belong in their abstraction; instances only bind supported contracts. - Theme values may evolve without another ADR as long as these semantic meanings and boundaries remain intact. Review and test changes according to their consumer impact. ## Supersession scope Supersedes **only the line-height prescription** in ADR-0034. Its fluid font-size scale, proportional hierarchy, semantic size roles, active Tailwind namespace and shared-UI size defaults remain accepted. Existing heading, title, label and body line-height tokens remain implementation defaults, not immutable architectural values. Layout spacing and ADR-0030/0031/0032 are unchanged. ## Rationale Separating rhythm from size allows readable prose and efficient administrative interfaces to share one design system. Semantic names express why a treatment was selected while leaving visual values flexible. Owner-local composition preserves real component contracts and avoids introducing a second documentation theme. ## Consequences - Contributors select text purpose and reading rhythm independently. - Existing consumers retain their defaults; adoption is deliberate rather than an application-wide migration. - Documentation demonstrates both rhythms using current tokens, not copied reference values. - No rendering, authorization, tenant-palette or client-state boundary changes. ## Related decisions - ADR-0030 — Design token architecture - ADR-0031 — Frontend component taxonomy and product instances - ADR-0034 — Fluid typography scale (line-height prescription only superseded)All sources and standards