Skip to content

Typography

Last updated: 2026-11-27T01:30:24-03:00 (UTC-3)

Three families carry the whole system: Space Grotesk for display, Manrope for everything read at length and JetBrains Mono for code. All three are variable fonts, so every weight comes from one file per family, and all three ship inside both products. Part of the design system.

Token Stack
--font-body "Manrope Variable", "Manrope", Inter, system-ui, sans-serif
--font-display "Space Grotesk Variable", "Space Grotesk", Inter, system-ui, sans-serif
--font-mono "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace
  • Display (--font-display): page and panel titles (h1, h2, h3), stat values, the console’s brand name and the site title. Its geometric figures make the numbers of a stats panel easy to compare.
  • Body (--font-body): text, labels, buttons, fields, tables and navigation.
  • Mono (--font-mono): code, identifiers, hashes, counts beside a filter and anything a reader may copy character by character (code, pre, kbd, samp), plus the !panic button.

The names after the first in each stack are fallbacks: if the variable font has not loaded yet, the static family, then Inter (or, for mono, the system’s monospace font), then the system font take its place.

Family Package Weights Console Site
Manrope Variable @fontsource-variable/manrope 200 800 manrope-latin-wght-normal.woff2 (latin subset, inlined) every subset of the package
Space Grotesk Variable @fontsource-variable/space-grotesk 300 700 space-grotesk-latin-wght-normal.woff2 (latin subset, inlined) every subset of the package
JetBrains Mono Variable @fontsource-variable/jetbrains-mono 100 800 jetbrains-mono-latin-wght-normal.woff2 (latin subset, inlined) every subset of the package
  • Console: web/src/tokens.css declares an @font-face per family pointing at the latin woff2 file of the package, and Vite inlines that file as a data URI (assetsInlineLimit in web/vite.config.ts). The console’s Content Security Policy allows font-src 'self' data: and nothing else, and the gateway refuses a console bundle with an external reference, so a font from a CDN would never load. The latin subset covers Western European languages, typographic punctuation, the euro sign and arrows; other scripts fall back to the system font.
  • Site: docs-site/src/styles/tokens.css imports each package whole, and Astro publishes every subset as its own file, loaded only when a page uses those characters.
  • Both builds pin the same release of each package; the design-token check fails if web/package.json and docs-site/package.json disagree.

To change a family: add the fontsource package to both package.json files at the same version, update font.family and font.sources in design-tokens/tokens.json (the console needs the exact latin file name from the package’s files/ directory), run python3 scripts/design-tokens.py write and rebuild both products. The console’s browser tests check that the three variable families load and that none of them is fetched from outside the bundle.

Token Value At 16px root
--font-size-2xs 0.75rem 12px
--font-size-xs 0.8125rem 13px
--font-size-sm 0.875rem 14px
--font-size-base 1rem 16px
--font-size-lg 1.125rem 18px
--font-size-xl 1.25rem 20px
--font-size-2xl 1.5rem 24px
--font-size-3xl 1.8125rem 29px
--font-size-4xl 2.1875rem 35px
--font-size-5xl 2.625rem 42px
--font-size-6xl 4rem 64px

The site’s text scale (--sl-text-2xs to --sl-text-6xl) reads these steps, and Starlight builds its headings from them: on wide screens h1 is 5xl, h2 is 4xl, h3 is 3xl and h4 is 2xl; below 50em each heading steps down one size. Body text is base, code is sm. The site sets h1 and h2 in the display face at regular weight with --line-height-display, balanced across lines, and h3, h4 and the site title at medium weight; long-form text keeps the site’s reading size and --line-height-body.

The console sizes its components in pixels:

Element Size Weight Face
Page title, stat value 36px (32px on small screens) regular Display, --letter-spacing-display, --line-height-display
Panel, drawer and editor title 19px medium Display, --letter-spacing-heading
Lead under a page title 15px regular Body, --line-height-ui
Buttons, fields, tabs, breadcrumbs 14px medium (semibold on the primary button) Body
Field labels, rail items 13px medium, regular Body
Table cells 12px regular Body
Eyebrow above a title 12px, uppercase medium Body, --letter-spacing-eyebrow
Table headers, rail sections, the live status 11px, uppercase medium Body, --letter-spacing-overline

New console components use the scale where a step matches.

Token Value
--font-weight-regular 400
--font-weight-medium 500
--font-weight-semibold 600
--font-weight-bold 700
--font-weight-extrabold 800

Titles and stat values use regular: large display text is light, not bold. Smaller headings, labels, tabs and table headers use medium; the primary button and the current breadcrumb use semibold; body text is regular. Because the families are variable, in-between weights (older console screens use 550, 650, 710 and 750 in places) cost nothing extra; prefer the named steps for new work.

Token Value
--line-height-display 1.04
--line-height-tight 1.2
--line-height-snug 1.35
--line-height-ui 1.55
--line-height-body 1.75
--letter-spacing-display -0.035em
--letter-spacing-heading -0.01em
--letter-spacing-eyebrow 0.16em
--letter-spacing-overline 0.12em
  • --line-height-body (1.75) is the site’s reading rhythm; --line-height-tight (1.2) its headings.
  • --line-height-snug (1.35) suits dense UI text such as chart captions and table cells.
  • --line-height-display (1.04) is for large titles and stat values; --line-height-ui (1.55) for a lead or a short paragraph in the console.
  • Display titles tighten by --letter-spacing-display and smaller headings by --letter-spacing-heading; an uppercase eyebrow opens up by --letter-spacing-eyebrow, and table headers and rail sections by --letter-spacing-overline.
.release-card h2 {
font-family: var(--font-display);
font-size: var(--font-size-xl);
font-weight: var(--font-weight-medium);
line-height: var(--line-height-tight);
letter-spacing: var(--letter-spacing-heading);
}
.release-card p {
font-family: var(--font-body);
font-size: var(--font-size-sm);
line-height: var(--line-height-snug);
color: var(--color-text-soft);
}
.release-card code {
font-family: var(--font-mono);
}

m7gtwcontact@m7gtw.com