Skip to content

Typography

  • --font-family-display: Space Grotesk, system-ui, sans-serif · Display & body — self-hosted (zero third-party). keep-hugo
  • --font-family-mono: JetBrains Mono, ui-monospace, monospace · Eyebrows, labels, tags, nav, code, [noiz], terminal. keep-hugo
  • --font-family-email: Space Grotesk, Segoe UI, Helvetica, Arial, sans-serif · Email-safe fallback chain — email clients will not load a webfont

Emphasis is JetBrains Mono italic (font.emphasis.family, font.emphasis.style) with font-synthesis: none (font.emphasis.synthesis): Space Grotesk ships no italic, so an <em> set in it would be a browser-synthesised shear. Strong emphasis stays in the display face at font.emphasis.strong.

  • --font-weight-regular: 400
  • --font-weight-medium: 500
  • --font-weight-semibold: 600
  • --font-weight-bold: 700

Fluid clamp() pairs; each size carries its own line height. These are deliberately untyped in the token file: DTCG’s dimension type is single-valued and cannot express clamp(), so they are emitted verbatim.

TokenValueNotes
--font-scale-displayclamp(3rem, 7vw, 5rem)lh 1.05 · ls -0.03em — hero h1 (.t-display)
--font-scale-h1clamp(2.1rem, 5.5vw, 3.052rem)lh 1.10
--font-scale-h2clamp(1.8rem, 4.5vw, 2.441rem)lh 1.15 · no extra tracking (#9 keep-hugo)
--font-scale-h3clamp(1.4rem, 3vw, 1.953rem)lh 1.20
--font-scale-h4clamp(1.1rem, 2vw, 1.563rem)lh 1.25
--font-scale-leadclamp(1.05rem, 1.5vw, 1.25rem)lh 1.45. The fluid coefficient MUST stay below h4's 2vw: at 2.2vw the two curves crossed and lead rendered larger than the h4 above it at every width from 810px to 1000px (small laptop, landscape tablet).
--font-scale-base1remlh 1.6 — body
--font-scale-sm0.85remlh 1.5 — small / buttons
--font-scale-label0.8remlh 1.4 — uppercase mono labels

Fixed pixels. Email clients do not support clamp(), so this scale exists alongside the web one rather than replacing it. Use it only in email.

  • --font-email-scale-xs11px
    Noiz: the quick brown fox
  • --font-email-scale-sm12px
    Noiz: the quick brown fox
  • --font-email-scale-base15px
    Noiz: the quick brown fox
  • --font-email-scale-md17px
    Noiz: the quick brown fox
  • --font-email-scale-lg22px
    Noiz: the quick brown fox
  • --font-email-scale-xl32px
    Noiz: the quick brown fox
  • --font-email-scale-xxl48px
    Noiz: the quick brown fox
  • --font-line-height-display: 1.05
  • --font-line-height-h1: 1.1
  • --font-line-height-h2: 1.15
  • --font-line-height-h3: 1.2
  • --font-line-height-h4: 1.25
  • --font-line-height-lead: 1.45
  • --font-line-height-body: 1.6
  • --font-line-height-label: 1.4
  • --font-tracking-tight: -0.03em · Display / hero h1
  • --font-tracking-normal: 0em · h2..h4 (no extra tracking)
  • --font-tracking-label: 0.1em · Mono labels / eyebrows / kickers