Fonts (self-hosted)

Drop the production woff2 files here. Nothing is requested from Google's CDN - this directory is the only font source (performance + GDPR).

Expected files (placeholder pair)

The CSS currently preloads and @font-faces these names. Keep the names or update them in one place each:

space-grotesk-latin-500.woff2     /* display, medium */
space-grotesk-latin-700.woff2     /* display, bold */
ibm-plex-sans-latin-400.woff2     /* body, regular */
ibm-plex-sans-latin-600.woff2     /* body, semibold */
ibm-plex-sans-latin-400-italic.woff2

How to get them

  1. Download the families from Google Fonts (or fontsource).
  2. Subset to latin and convert to woff2 (e.g. glyphhanger, fonttools, or fontsource's pre-subset packages).
  3. Drop the woff2 files in this folder using the names above.

font-display: swap is set in CSS; the body font is preloaded in base.njk.

Swapping the whole pair is a one-line change: edit --font-display and --font-body in global.css and replace the files here.