Typography
Three families: a heavy slab for display, a grotesk for the working UI and a mono for figures and code. The base size is a compact 14px. Load the fonts yourself: googleFontsUrl from achery-ui/tokens is the Google Fonts link, or self-host them (this site uses Fontsource).
Families
Salt, sulfur & mercury 0123456789
fontFamilies.display'Roboto Slab', 'Rockwell', 'Courier New', serifDisplay and headings H1–H4: the shop-sign slab.
Salt, sulfur & mercury 0123456789
fontFamilies.body'Space Grotesk', 'Helvetica Neue', 'Inter', system-ui, sans-serifEverything else: body, labels, buttons, H5 and eyebrows.
Salt, sulfur & mercury 0123456789
fontFamilies.mono'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospaceCode, IDs, measurements and figures.
Type styles
The design system's styles, each rendered with its achery-ui component. Figures are measured from the rendered text: size · weight · line height · tracking.
A workbench, not a factory.
The slow apothecary
Salt, sulfur, mercury
Bound in cream linen
Twelve loose pages
SECTION EYEBROW
- FIELD GUIDE
A workbench is what you make of it.
Body copy is short, plain, and a little dry.
1. See Field Guide, p. 14.
- const tincture = await steep()
Scales
Font size
Compact, 14px base.
| Token | Value | Usage |
|---|---|---|
xs | 11px | Labels and eyebrows. |
sm | 12px | Small print, buttons, pre. |
md | 14px | Body default (16px on coarse pointers). |
lg | 16px | Lead paragraphs; material titles. |
xl | 20px | H4. |
2xl | 26px | H3. |
3xl | 34px | H2; material figures. |
4xl | 46px | H1. |
5xl | 64px | Headline step between H1 and display. |
6xl | 88px | Display. |
Weight
| Token | Value | Usage |
|---|---|---|
regular | 400 | |
medium | 500 | |
semibold | 600 | |
bold | 700 | |
black | 900 |
Line height
| Token | Value | Usage |
|---|---|---|
tight | 1.08 | H1, H2. |
snug | 1.2 | H3, H4. |
base | 1.45 | Body and pre: compact means tight, not cramped. |
loose | 1.65 | Long-form docs prose. |
Letter spacing
| Token | Value | Usage |
|---|---|---|
tight | -0.02em | Display and H1. |
snug | -0.01em | H2. |
base | 0 | Body. |
wide | 0.04em | H5 uppercase heading. |
wider | 0.08em | |
widest | 0.18em | Small caps labels and eyebrows. |