feat(typography): auto-detect bundled fonts and skip Google Fonts CDN

Add a second resolution tier to the typography system: before falling
back to Google Fonts, check assets/dist/font/ for a matching local
file. When found, emit @font-face with local() fallback instead of a
CDN <link>. Variable fonts detected from ".var." filename convention.

Bundle JetBrains Mono alongside Inter so the default "modern" pack
loads entirely from local files — zero external font requests.
This commit is contained in:
George Cushen committed 2026-03-13 15:29:32 +00:00
1 parent aa272895d8
commit 71b5a1b844
3 files changed
+82 -8

No files matched your search

Binary file not shown.
Binary file not shown.