Skip to content

Bundle the real fonts into the design kit - #504

Merged
mtaanquist merged 1 commit into
developfrom
chore/design-kit-fonts
Jul 29, 2026
Merged

Bundle the real fonts into the design kit#504
mtaanquist merged 1 commit into
developfrom
chore/design-kit-fonts

Conversation

@mtaanquist

Copy link
Copy Markdown
Owner

Claude Design flagged the kit's families as missing. Rather than substituting known fonts, this bundles the real ones: latin-subset woff2 files (172K total) for Hanken Grotesk, Spectral 400/400i/500/600, and JetBrains Mono, copied from the same fontsource packages the app loads (all SIL OFL, redistribution permitted). fonts.css declares them with family names matching tokens.css; the kit scaffold imports it, so every card picks them up. Verified by rendering the type card headless: all three families load from file://.

Also folds in the README correction from the first DesignSync push (the tool does not read through the styles/ symlink; sync from the repo root).

🤖 Generated with Claude Code

Latin subsets of Hanken Grotesk, Spectral, and JetBrains Mono (SIL OFL)
copied from the fontsource packages the app loads, declared in fonts.css
and imported by the kit scaffold, so previews render the actual
letterforms instead of system fallbacks. README sync steps updated,
including the symlink caveat found during the first push.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mtaanquist
mtaanquist merged commit 60710f4 into develop Jul 29, 2026
3 checks passed
@mtaanquist
mtaanquist deleted the chore/design-kit-fonts branch July 29, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant