Skip to content
GitHub
Sections

Reference · Things to avoid

One line-height for everything

Forbidden
One line-height value applied to both a 48px heading and 16px body
Instead
--leading-body for UI text, --leading-prose for sustained reading, and --leading-h3 / --leading-h2 / --leading-h1 as the heading tier rises. Line height decreases as size increases, and the heading values are per-mode — see the table in 02-tokens.md.

What this rule looks like

Forbidden
Instead
Kind
Rule
Section
Things to avoid
Group
Typography
Bucket
judgment
Severity
note
Since
v0.1.0

Read as plain text