Files
poli0981andClaude Opus 5 907a653cc5 chore(ui): vendor Inter and JetBrains Mono
`--font-sans` and `--font-mono` have named these two since the tokens were
written, and both fell through to a system fallback the entire time — no face was
ever registered, so UI-SPEC §2's typography had never actually shipped. The
`@theme` block is unchanged; what was missing is the two `@font-face` rules.

Committed as files rather than added as `@fontsource-*` devDependencies. The app
runs behind a strict CSP with no external hosts, so a CDN is not an option, and
two binaries carry no `npm audit` surface to keep clean forever. `legal/fonts/`
holds the verbatim OFL text for each, the release each came from, and the SHA-256
of both files, so a reader can verify what shipped without trusting the note that
says it. SIL OFL 1.1 permits the bundling and requires the licence to travel with
it, which is what those files are.

One variable file for Inter covers 100–900 without extra requests.
`font-display: swap` on both: the shell renders in the fallback for the first
frame rather than showing nothing, which is the same instinct as §7's "never
spinners longer than 300 ms without text".

`tokens.test.ts` is unaffected — it computes contrast from the colour tokens, not
from anything the typeface changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-09 21:46:25 +07:00
..