Typography
Font families, sizes, and weights used in the design system.
Font families
| Font | Class | Usage |
|---|---|---|
| Geist | font-sans | All UI text — labels, buttons, body copy |
| JetBrains Mono | font-mono | Code blocks, technical values, numbers in data tables |
theme.css registers both as --font-sans and --font-mono, so font-sans and font-mono work out of the box. The package does not ship the font files: load them in your app, for example with @fontsource-variable/geist and @fontsource-variable/jetbrains-mono.
Geist — Sans Serif
The quick brown fox jumps over the lazy dog
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
JetBrains Mono — Monospace
const result = await fetchData()
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight scale
Normal 400Design systems bring consistency
Medium 500Design systems bring consistency
Semibold 600Design systems bring consistency
Bold 700Design systems bring consistency
Marketing scale
The Retents scale has 9 sizes, for any channel (site, decks, social). Do not use sizes outside it.
| Size | Line height | Usage |
|---|---|---|
| 72px / 4.5rem | 1.1 | Main hero, above the fold |
| 48px / 3rem | 1.15 | H1 on inner pages |
| 30px / 1.875rem | 1.25 | H2, section titles |
| 24px / 1.5rem | — | Only as the low end of fluid (clamp) headings |
| 20px / 1.25rem | 1.75 | Lead paragraph, H3 |
| 18px / 1.125rem | 1.75 | Main body on marketing pages |
| 16px / 1rem | 1.625 | Secondary body, UI text |
| 14px / 0.875rem | 1.5 | Labels, metadata, captions, buttons |
| 12px / 0.75rem | 1.5 | Tags, badges, eyebrows |
Headings from 30px up use -0.02em letter-spacing. Maximum weight is 700 (never 800 or 900). Hierarchy and usage rules: Brand → Tipografia.
Component scale
| Class | Size | Common usage |
|---|---|---|
text-xs | 12px | Badges, captions, helper text |
text-sm | 14px | Buttons, form labels, table cells |
text-base | 16px | Body text, descriptions |
text-lg | 18px | Section headings, card titles |
text-xl | 20px | Page section headings |
text-2xl | 24px | Page titles |
Font weights
| Class | Weight | Usage |
|---|---|---|
font-normal | 400 | Body text, descriptions |
font-medium | 500 | Buttons, labels, nav items |
font-semibold | 600 | Headings, card titles |
font-bold | 700 | Page titles, emphasis |