Skill 22 · Hyperframes Creative
Subchapter 22.14
references/typography.mdMarkdown14 KBView on GitHub
The compiler pre-bundles a fixed set of fonts (the table below) — write one of those families in font-family and it renders deterministically, offline, with no setup and no warning. A name outside that set is not silently dropped: if it’s a real Google font the compiler fetches it from Google Fonts at build time and embeds it, so it does render — but that implicit path (a) trips a font_family_without_font_face lint warning, and (b) is fail-closed in distributed/cloud renders — if Google is unreachable the render errors rather than quietly substituting a system font. Beyond that, local renders auto-capture fonts you actually have: a family installed on your machine, a local @font-face path, or an external CDN stylesheet all get compressed to woff2 and inlined at build time. So a name on neither the bundle nor Google Fonts only truly falls back to a generic system font when it’s also not installed locally and not declared in an — and even that logs a compiler warning. : distributed/cloud (Lambda) renders disable system-font capture, so don’t rely on a locally-installed-only font for those. So don’t assume an un-bundled display name will Just Work: for anything that must render predictably, pick a bundled family below (see “Finding Fonts”).
@font-face@font-faceThese 18 families are the ones the renderer pre-bundles — embedded as local data URIs with no network fetch, so they render offline and deterministically with zero setup, no lint warning, and no fail-closed fetch risk. Write any of them as a font-family and it renders; only the listed weights exist (asking for a weight a family doesn’t ship gives a synthetic/fallback weight, not a real cut). (Any other real Google font still works via the implicit build-time fetch described in the intro — but only these render with none of those caveats.)
| Family | Weights | Role |
|---|---|---|
| Inter | 400 · 700 · 900 | sans (body/UI) |
| Roboto | 400 · 700 · 900 | sans |
| Open Sans | 400 · 700 | sans |
| Lato | 400 · 700 · 900 | sans |
| Nunito | 400 · 700 · 900 | sans (rounded) |
| Montserrat | 400 · 700 · 900 | geometric sans |
| Poppins | 400 · 700 · 900 | geometric sans |
| Outfit | 400 · 700 · 900 | geometric sans |
| Oswald | 400 · 700 | condensed sans |
| League Gothic | 400 only | condensed display |
| Archivo Black | 400 only | heavy display |
| Playfair Display | 400 · 700 · 900 | serif (display) |
| EB Garamond | 400 · 700 | serif (text) |
| Space Mono | 400 · 700 | mono |
| IBM Plex Mono | 400 · 700 | mono |
| JetBrains Mono | 400 · 700 | mono |
| Source Code Pro | 400 · 700 | mono |
| Noto Sans JP | 400 · 700 | CJK (Japanese) |
⚠ League Gothic and Archivo Black ship weight 400 ONLY — they are already heavy/condensed display faces. Do not request
font-weight: 700/900on them.
Aliases — these common names resolve to an embedded family, so you may safely write them: Helvetica Neue / Helvetica / Arial → Inter · Futura / DIN Alternate / Arial Black → Montserrat · Bebas Neue → League Gothic · Segoe UI → Roboto · Courier New / Courier → JetBrains Mono · Garamond → EB Garamond. (This is why a “safe” Helvetica Neue stack always renders — it maps to embedded Inter.)
Reconciling with the Banned list below: several embedded families (Inter, Roboto, Open Sans, Lato, Nunito, Poppins, Outfit, Playfair Display, EB Garamond) are also on the Banned monoculture list — they render fine but read as generic. The families that are embedded AND not banned — your safe-and-distinctive picks — are: Montserrat, Oswald, League Gothic, Archivo Black, Space Mono, IBM Plex Mono, JetBrains Mono, Source Code Pro, Noto Sans JP. Reach for these (or a non-bundled font you’ve confirmed via the Finding-Fonts step). A non-bundled name isn’t guaranteed-broken — a real Google font is auto-fetched and embedded — but it carries a lint warning and a fail-closed fetch in cloud renders, so for anything that must render predictably, embed it yourself via @font-face (see “Finding Fonts”) rather than relying on the implicit fetch.
Training-data defaults that every LLM reaches for. These produce monoculture across compositions.
Inter, Roboto, Open Sans, Noto Sans, Arimo, Lato, Source Sans, PT Sans, Nunito, Poppins, Outfit, Sora, Playfair Display, Cormorant Garamond, Bodoni Moda, EB Garamond, Cinzel, Prata, Syne
Syne in particular is the most overused “distinctive” display font. It is an instant AI design tell.
You know these rules but you violate them. Stop.
hyperframes/references/brief-contract.md § 2): the video plays small inside a scrolling feed, so scale up — body ≥32px, headlines ≥90px, data labels ≥24px (first-pass values; calibrate against real renders). You will try to use 14px. Don’t.Don’t default to what you know. If the content is luxury, a grotesque sans might create more tension than the expected Didone serif. Decide the register first, then search.
Save this script to /tmp/fontquery.py and run with curl -s 'https://fonts.google.com/metadata/fonts' > /tmp/gfonts.json && python3 /tmp/fontquery.py /tmp/gfonts.json:
import json, sys, random
from collections import OrderedDict
random.seed() # true random each run
with open(sys.argv[1]) as f:
data = json.load(f)
fonts = data.get("familyMetadataList", [])
ban = {"Inter","Roboto","Open Sans","Noto Sans","Lato","Poppins",
Five categories: trending sans, trending serif, monospace, impact/condensed, script/handwriting. All dynamically filtered from Google Fonts metadata — no hardcoded font names. Cross classification boundaries when pairing.
Don’t pick fonts by category reflex (editorial → serif, tech → mono, modern → geometric sans). That’s pattern matching, not design.
Never pair two fonts that are similar but not identical — two geometric sans-serifs, two transitional serifs, two humanist sans. They create visual friction without clear hierarchy. The viewer senses something is “off” but can’t articulate it. Either use one font at two weights, or pair fonts that contrast on multiple axes: serif + sans, condensed + wide, geometric + humanist.
Light text on dark backgrounds creates two optical illusions you need to compensate for:
font-weight. Use 350 instead of 400 for body text. Headlines are less affected because size compensates.line-height by 0.05-0.1 beyond your light-background value. For display sizes, add 0.01em letter-spacing to counteract.Most fonts ship with OpenType features that are off by default. Turn them on for data compositions:
/* Tabular numbers — digits align vertically in columns */
.stat-value,
.timer,
.data-column {
font-variant-numeric: tabular-nums;
}
/* Diagonal fractions — renders 1/2 as ½ */
.recipe-amount,
.ratio {
font-variant-numeric: diagonal-fractions;
}
/* Small caps for abbreviations — less visual shouting */
.abbreviation,
.unit {
font-variant-caps: all-small-caps;
}
/* Disable ligatures in code — fi, fl, ffi should stay separate */
code,
.code {
font-variant-ligatures: none;
}tabular-nums is essential any time numbers are stacked vertically — stat callouts, timers, scoreboards, data tables. Without it, digits have proportional widths and columns don’t align.