Foundations
Typography
One family: Inter (the variable version), with ligatures, contextual
alternates and optical sizing on. There is no monospace face in product
UI. IDs, keys and numbers are set in Inter, using tabular figures
(font-variant-numeric: tabular-nums) wherever digits need to line up.
Another neo-grotesque with a good variable cut will also work. Keep it to
one family.
Product scale
| Use | Size / weight / line-height |
|---|---|
| Body, rows, controls, navigation | 14px / 400 / 20px |
| Labels, badges, metadata, group labels, tooltips | 12px / 400–500 / 16px |
| Page, card, dialog and empty-state titles | 16px / 500 / snug (1.375) |
| Pane and list header titles | 14px / 500 |
| Headline number | 24px / 600, tabular |
| Counter bubble | 10px / 500, tabular |
| Text inputs on touch screens | 16px, which stops mobile browsers zooming in |
Use 500 for anything that leads and 400 for everything else. Use 600 only
for headline numbers and display headings. Long prose uses a 1.625 line
height and a measure of about 65ch. Short descriptions in dialogs and
empty states use text-wrap: balance.
Marketing scale
Marketing pages use a larger scale of their own. See Marketing pages.
Tokens
--font-sans, --text-2xs to --text-2xl, --leading-xs, --leading-sm, --leading-snug, --leading-relaxed, --weight-regular, --weight-medium, --weight-semibold, --tracking-body, --tracking-display.