FoundationsTypography

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 / regular
The quick brown fox jumps over the lazy dog
30/36
text.xxl / regular
The quick brown fox jumps over the lazy dog
24/30
text.xl / regular
The quick brown fox jumps over the lazy dog
20/26
text.lg / regular
The quick brown fox jumps over the lazy dog
17/22
text.md / regular
The quick brown fox jumps over the lazy dog
15/20
text.sm / regular
The quick brown fox jumps over the lazy dog
13/18
text.xs / regular
The quick brown fox jumps over the lazy dog
11/14
text.xxs / regular
The quick brown fox jumps over the lazy dog
10/14

Scale (Medium)

text.3xl / medium
The quick brown fox jumps over the lazy dog
30/36
text.xxl / medium
The quick brown fox jumps over the lazy dog
24/30
text.xl / medium
The quick brown fox jumps over the lazy dog
20/26
text.lg / medium
The quick brown fox jumps over the lazy dog
17/22
text.md / medium
The quick brown fox jumps over the lazy dog
15/20
text.sm / medium
The quick brown fox jumps over the lazy dog
13/18
text.xs / medium
The quick brown fox jumps over the lazy dog
11/14
text.xxs / medium
The quick brown fox jumps over the lazy dog
10/14

Scale (Bold)

text.3xl / bold
The quick brown fox jumps over the lazy dog
30/36
text.xxl / bold
The quick brown fox jumps over the lazy dog
24/30
text.xl / bold
The quick brown fox jumps over the lazy dog
20/26
text.lg / bold
The quick brown fox jumps over the lazy dog
17/22
text.md / bold
The quick brown fox jumps over the lazy dog
15/20
text.sm / bold
The quick brown fox jumps over the lazy dog
13/18
text.xs / bold
The quick brown fox jumps over the lazy dog
11/14
text.xxs / bold
The quick brown fox jumps over the lazy dog
10/14

Display

Unknown scale: display4xl

Naming rules

  • Scales use the shorthand xxs → 3xl (no numeric font sizes in code).
  • text.<scale>.fontSize and text.<scale>.lineHeight in 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.