stnd.build

Typography & Typefaces

Approved typefaces, the modular scale, line-height rhythm, and OpenType features.

Typography is the invisible architecture of the page. Standard imposes a
strict modular scale based on mathematical ratios and limits typeface
choices to high-utility families that preserve clarity, ergonomics, and dignity.

Every typographic decision in Standard is derived from historical typesetting research
and rigorous screen geometry rather than subjective aesthetics.

The Utopie Knowledge Garden

The Standard framework documentation provides the engineering specifications, tokens, and utility classes.
For the underlying history of letterpress printing, mathematical proofs, and design philosophy, explore the living notes in the Utopie Garden:


Approved Typefaces (Font Stacks)

Three semantic stacks, optimized for screen rendering and accessibility:

  1. Sans-serif (interface & body text) — Instrument Sans, system-ui. Modern, geometric, humanist; excellent small-scale readability.
  2. Serif (editorial reading) — Newsreader, Instrument Serif. For long narratives — a literary, grounded tone.
  3. Monospaced (data & code) — IBM Plex Mono, ui-monospace. Code blocks, tables, metadata, aligned numbers.

Semantic Roles

Every interface element consumes an abstract typographic role, never a
physical font directly:


The Modular Scale (Optical Scale)

Text sizing is never arbitrary — it follows a geometric scale based on the
Silver Ratio ($\sqrt{2} \approx 1.414$):

$$\text{Size}_N = \text{Base} \times (\text{Optical Ratio})^N$$

While the classical Golden Ratio ($\phi \approx 1.618$) is celebrated in art, it expands too quickly for digital screens ($16 \to 26 \to 42 \to 68\text{px}$), breaking multi-column layouts and mobile headers. The Silver Ratio ($\sqrt{2} \approx 1.414$, the geometry of the ISO 216 paper standard) provides a self-similar octave doubling every two steps ($16 \to 32 \to 64\text{px}$), maintaining unmistakable hierarchy without container overflow.

(Read the complete mathematical analysis in the Garden: Silver Ratio and Golden Ratio / local note.)

On screens under 768px, --optical-ratio modulates to --ratio-mobile (1.272, the square root of the golden ratio or half-step silver factor) to compress headings harmoniously without broken line wraps (see Responsive & Mobile Architecture).

Token Desktop Size (1.414) Mobile Size (1.272) Utility Class Usage / Role
--scale-d5 ~9px ~9px .text-3xs / .text-scale-d5 Fine print, legal mentions (floored at 9px)
--scale-d3 ~12px ~12px .text-xs / .text-scale-d3 Frontmatter metadata, labels
--scale-d2 ~14px ~14px .text-sm / .text-scale-d2 Image captions, helper text
--scale 16px (1rem) 18px (1.125rem) .text-base / .text-scale Main body text (--font-size-mobile on mobile)
--scale-2 ~22.6px ~20.6px .text-lg / .text-scale-2 Subheadings, H3
--scale-3 ~32.0px ~26.2px .text-xl / .text-scale-3 Section titles, H2
--scale-4 ~45.3px ~33.3px .text-2xl / .text-scale-4 Article titles, H1
--scale-5 ~64.0px ~42.4px .text-3xl / .text-scale-5 Main document title / Hero display
--scale-6 ~90.5px ~53.9px .text-4xl / .text-scale-6 Display numbers, drop caps

Line Heights, Leading & Optical Trim

Standard calculates line heights and spacing dynamically from reader density:


Vertical Rhythm & The Baseline Engine

Vertical rhythm ensures that every element on the page — text, headings, cards, and gutters — steps to an unwavering harmonic pulse.


System OpenType Features

Enabled by default, per family: