Typography
Three variable faces and a seven-rung ladder. A page picks a rung, never a pixel size.
On this page
Faces
| Token | Face | Used for |
|---|---|---|
--basalt-font-sans | Nunito Sans | Body text and controls |
--basalt-font-head | Hubot Sans | Headings and figures |
--basalt-font-mono | JetBrains Mono | Code, ids and timestamps |
The ladder
Each rung pairs a size with its line height: text-sm sets both.
- text-display
- Dashboards in one look
- text-lg
- A standfirst under a page title
- text-base
- Body text in an article, sixteen pixels on a 1.7 leading.
- text-md
- A card title or a control label
- text-sm
- Table cells, captions and dense lists
- text-xs
- Meta lines and axis ticks
- text-micro
- EYEBROWS AND LEGENDS