Typography
Origon UI is set in Inter Variable, a single family covering the full weight
axis. The scale spans xxs → 3xl plus a display4xl reserved for hero
moments. Letter spacing is 0% everywhere — Inter’s default optical
compensation is used.
- Family:
Inter Variable— load once, use every weight from the same file. - Weights in use: Regular (400), Medium (500), Bold (700). Other weights exist in the variable but are not part of the design system contract.
- Line height: hard-coded per size (not a ratio). Sizes ≤ md use a tighter 1.33× rhythm; sizes ≥ lg loosen to 1.30–1.20× for headline balance.
Scale (Regular)
text.3xl / regularThe quick brown fox jumps over the lazy dog
30/36text.xxl / regularThe quick brown fox jumps over the lazy dog
24/30text.xl / regularThe quick brown fox jumps over the lazy dog
20/26text.lg / regularThe quick brown fox jumps over the lazy dog
17/22text.md / regularThe quick brown fox jumps over the lazy dog
15/20text.sm / regularThe quick brown fox jumps over the lazy dog
13/18text.xs / regularThe quick brown fox jumps over the lazy dog
11/14text.xxs / regularThe quick brown fox jumps over the lazy dog
10/14Scale (Medium)
text.3xl / mediumThe quick brown fox jumps over the lazy dog
30/36text.xxl / mediumThe quick brown fox jumps over the lazy dog
24/30text.xl / mediumThe quick brown fox jumps over the lazy dog
20/26text.lg / mediumThe quick brown fox jumps over the lazy dog
17/22text.md / mediumThe quick brown fox jumps over the lazy dog
15/20text.sm / mediumThe quick brown fox jumps over the lazy dog
13/18text.xs / mediumThe quick brown fox jumps over the lazy dog
11/14text.xxs / mediumThe quick brown fox jumps over the lazy dog
10/14Scale (Bold)
text.3xl / boldThe quick brown fox jumps over the lazy dog
30/36text.xxl / boldThe quick brown fox jumps over the lazy dog
24/30text.xl / boldThe quick brown fox jumps over the lazy dog
20/26text.lg / boldThe quick brown fox jumps over the lazy dog
17/22text.md / boldThe quick brown fox jumps over the lazy dog
15/20text.sm / boldThe quick brown fox jumps over the lazy dog
13/18text.xs / boldThe quick brown fox jumps over the lazy dog
11/14text.xxs / boldThe quick brown fox jumps over the lazy dog
10/14Display
Unknown scale: display4xl
Naming rules
- Scales use the shorthand
xxs → 3xl(no numeric font sizes in code). text.<scale>.fontSizeandtext.<scale>.lineHeightin React; equivalent- Display sizes are prefixed:
display4xl,displayXxl(future). Reserved for page-level “hero” typography.
Do / don’t
- ✅ Compose weight and size independently (
text.md+font.weight.medium). - ✅ Rely on Inter Variable — do not import Inter static weights alongside.
- ❌ Don’t inline hardcoded font sizes (
fontSize: 15). Always token-driven. - ❌ Don’t add letter-spacing “for readability” — the font’s optical sizing already handles that.