Typography
One fluid type scale (~1.25 / major-third ratio at the top of each range),
Archivo for body and display. The web sizes are clamp() ranges; the Rust
constants in scale::font_size take each range's upper bound as fixed pixels.
| Token | Rust | px (game) | Use |
|---|---|---|---|
--font-size-00 | F00 | 12.8 | fine print, captions |
--font-size-0 | F0 | 16 | body baseline |
--font-size-1 | F1 | 20 | lead, sub-nav |
--font-size-2 | F2 | 25 | card titles |
--font-size-3 | F3 | 31 | section heads |
--font-size-4 | F4 | 39 | page heads |
--font-size-5–8 | F5–F8 | 49–95 | display |
The scale
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
Arenic
Arenic
Arenic
Families & weights
- Sans / body:
Archivo, thensystem-uifallbacks (--font-sans). - Display:
Monument Extended, falling back to the sans stack (--font-display). - Mono: the platform mono stack (
--font-mono).
Weights run 100–900 (scale::weight::W1–W9). Bevy renders text in the
loaded font's own weight, so in the game the weight scale is documentation until
weighted font assets are wired up; on the web the variable font honours all nine.
Line-heights tighten as type grows: 1.5 for body (LH0/LH1) down to 1.0
for the largest display (LH7).