Foundations
Typography
Expressive display type, a clean reading face and monospaced annotations. Eight pairings are available in System Studio, each with safe fine-tuning; sizes are fluid so one scale serves every viewport.
Font families
Self-hosted variable fonts. The specimens below use the actual families, not look-alikes.
Pairing: grotesk
Aa Product
Display: Bricolage Grotesque Variable
Body: Hanken Grotesk Variable. The quick brown fox jumps over the lazy dog.
Pairing: neo
Aa Product
Display: Inter Variable
Body: Inter Variable. The quick brown fox jumps over the lazy dog.
Pairing: space
Aa Product
Display: Space Grotesk Variable
Body: DM Sans Variable. The quick brown fox jumps over the lazy dog.
Pairing: studio
Aa Product
Display: Manrope Variable
Body: Manrope Variable. The quick brown fox jumps over the lazy dog.
Pairing: luxury
Aa Product
Display: Playfair Display Variable
Body: DM Sans Variable. The quick brown fox jumps over the lazy dog.
Pairing: serif
Aa Product
Display: Fraunces Variable
Body: Hanken Grotesk Variable. The quick brown fox jumps over the lazy dog.
Pairing: mono
Aa Product
Display: JetBrains Mono Variable
Body: JetBrains Mono Variable. The quick brown fox jumps over the lazy dog.
Pairing: poster
Aa Product
Display: Bebas Neue
Body: DM Sans Variable. The quick brown fox jumps over the lazy dog.
Annotations (all pairings)
prim.color.lavender.400 #B9A6FF
Mono: JetBrains Mono Variable
Pairings, weights and licences
Pairings are defined in one file, src/tokens/typefaces.json, which the token compiler turns into the type variants, the Studio specimens, the randomizer and this table. Three families are bundled and preloaded (Bricolage Grotesque, Hanken Grotesk, JetBrains Mono: the default identity); every other family is a lazily loaded stylesheet (public/fonts/<id>.css, latin and latin-ext subsets only) injected the first time a pairing that needs it is selected or previewed. All families are open source (SIL OFL) and self-hosted from Fontsource packages.
| Pairing | Display | Body | Weight range (display) | Loading |
|---|---|---|---|---|
Groteskdata-type="grotesk" | Bricolage Grotesque | Hanken Grotesk | 200–800 | bundled |
Neo-groteskdata-type="neo" | Inter | Inter | 100–900 | lazy |
Geometricdata-type="space" | Space Grotesk | DM Sans | 300–700 | lazy |
Studiodata-type="studio" | Manrope | Manrope | 200–800 | lazy |
Luxe serifdata-type="luxury" | Playfair Display | DM Sans | 400–900 | lazy |
Warm serifdata-type="serif" | Fraunces | Hanken Grotesk | 100–900 | lazy |
Monodata-type="mono" | JetBrains Mono | JetBrains Mono | 100–800 | bundled |
Posterdata-type="poster" | Bebas Neue | DM Sans | 400 (single weight) | lazy |
Fine tuning and safe ranges
Four controls adjust any pairing. Each one is a small set of steps, not a free slider, because every step is a tested safe range. They write wrapper tokens:type.scale multiplies display and heading sizes, type.weight-shift moves weight and is clamped between type.weight-min andtype.weight-max (the display family's real range, so an unsupported weight can never be requested), type.leading-shift andtype.tracking-shift offset line height and letter spacing. Each pairing also sets type.fit, a size factor between 0.82 and 1 that keeps wide faces (monospace) from overflowing.
| Heading size | Token |
|---|---|
Smaller xs | 0.85 |
Small sm | 0.92 |
Default md | 1 |
Large lg | 1.08 |
Larger xl | 1.16 |
| Weight | Token |
|---|---|
Lighter lighter | -200 |
Light light | -100 |
Default normal | 0 |
Bold bold | 100 |
Bolder bolder | 200 |
| Line height | Token |
|---|---|
Tight tight | -0.06 |
Default normal | 0 |
Relaxed relaxed | 0.12 |
| Letter spacing | Token |
|---|---|
Tight tight | -0.02em |
Default normal | 0em |
Wide wide | 0.03em |
Randomize Design adds constraints on top: the poster face keeps default weight and size, monospaced faces never combine with tight spacing or tight line height, and extra compact spacing needs at least the default line height.
Weights
Type scale
Fluid steps (clamp()). Resize the window to see them respond.
| Token | Value |
|---|---|
prim.font.size.xs | 0.75rem |
prim.font.size.sm | 0.875rem |
prim.font.size.base | 1rem |
prim.font.size.md | 1.125rem |
prim.font.size.lg | 1.375rem |
prim.font.size.xl | 1.75rem |
prim.font.size.2xl | clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem) |
prim.font.size.3xl | clamp(2.25rem, 1.2rem + 4vw, 4.75rem) |
prim.font.size.4xl | clamp(2.75rem, 0.8rem + 8vw, 9rem) |
prim.font.size.5xl | clamp(3rem, min(0.4rem + 11vw, 17svh), 12.5rem) |
Line height and letter spacing
| Line height | Value |
|---|---|
tightest | 0.88 |
tight | 0.95 |
snug | 1.1 |
normal | 1.5 |
relaxed | 1.65 |
display | 0.94 |
| Tracking | Value |
|---|---|
tight | -0.03em |
snug | -0.015em |
normal | 0em |
wide | 0.06em |
label | 0.14em |
Display tracking and weight bases are set per pairing because a serif and a grotesk need different tightening. The earlier prototype compressed the display face (88% width, 0.88 leading, −0.045em); the current grotesk runs at normal width with −0.03em, a documented correction after design review. The fine-tuning shifts above are added on top of those bases.
Semantic typography roles
Roles bundle size, weight, leading, tracking and stretch. Rendered live in the current preset and pairing.
type.display-xl
Design systems, made visible
--ds-type-display-xl-size · --ds-type-display-xl-weight · --ds-type-display-xl-leading
type.display-l
Design systems, made visible
--ds-type-display-l-size · --ds-type-display-l-weight · --ds-type-display-l-leading
type.heading
Design systems, made visible
--ds-type-heading-size · --ds-type-heading-weight · --ds-type-heading-leading
type.title
Design systems, made visible
--ds-type-title-size · --ds-type-title-weight · --ds-type-title-leading
type.lead
Design systems, made visible
--ds-type-lead-size · --ds-type-lead-weight · --ds-type-lead-leading
type.body
Design systems, made visible
--ds-type-body-size · --ds-type-body-weight · --ds-type-body-leading
type.label
Design systems, made visible
--ds-type-label-size · --ds-type-label-weight · --ds-type-label-leading