feat(fonts): row 228 — Inter as default font, 4-font bundle incl. Atkinson Hyperlegible

Purged: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4
(rationale in README.md 'Default font'). Kept: Inter (now the default of the
font option, best screen readability at survey sizes, with Noto Sans stacked
behind it as multilingual fallback), Noto Sans, Noto Serif (the one serif,
non-Latin coverage). Added: Atkinson Hyperlegible 400/700 (OFL 1.1, from
googlefonts/atkinson-hyperlegible) as the accessibility variant for
respondents with reading impairments. sass/fonts.sass is the leading source;
css/fonts.css recompiled. README.md + files/fonts/README.md document the
choice and the alternatives. Variant propagation parked per row 222.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-30 10:31:07 +01:00
commit a1d58c7c79

View file

@ -1,23 +1,26 @@
# Fonts bundled with this theme
This theme ships seven open source fonts so users can see that self-hosted
(custom) fonts work just as well as the browser/system fonts:
This theme ships four open source fonts so users can see that self-hosted
(custom) fonts work just as well as the browser/system fonts (row 228 set):
| Font | Style | File(s) | License |
|---|---|---|---|
| EB Garamond | serif | `eb-garamond-var.woff2` | OFL 1.1 (`OFL-eb-garamond.txt`) |
| Inter | sans-serif | `inter-var.woff2` | OFL 1.1 (`OFL-inter.txt`) |
| Liberation Sans | sans-serif | `liberation-sans-400.woff2`, `liberation-sans-700.woff2` | OFL 1.1 (`OFL-liberation-sans.txt`) |
| Noto Sans | sans-serif | `noto-sans-var.woff2` | OFL 1.1 (`OFL-noto-sans.txt`) |
| Noto Serif | serif | `noto-serif-var.woff2` | OFL 1.1 (`OFL-noto-serif.txt`) |
| Open Sans | sans-serif | `open-sans-var.woff2` | OFL 1.1 (`OFL-open-sans.txt`) |
| Source Serif 4 | serif | `source-serif-4-var.woff2` | OFL 1.1 (`OFL-source-serif-4.txt`) |
| Font | Style | File(s) | License | Role |
|---|---|---|---|---|
| Atkinson Hyperlegible | sans-serif | `atkinson-hyperlegible-400.woff2`, `atkinson-hyperlegible-700.woff2` | OFL 1.1 (`OFL-atkinson-hyperlegible.txt`) | accessibility variant (reading impairments) |
| Inter | sans-serif | `inter-var.woff2` | OFL 1.1 (`OFL-inter.txt`) | **default font** — best screen readability of the set |
| Noto Sans | sans-serif | `noto-sans-var.woff2` | OFL 1.1 (`OFL-noto-sans.txt`) | multilingual fallback, stacked behind Inter in `css/fonts.css` |
| Noto Serif | serif | `noto-serif-var.woff2` | OFL 1.1 (`OFL-noto-serif.txt`) | the one bundled serif (covers non-Latin scripts) |
All except Liberation Sans are variable fonts (weight axis declared in the
`@font-face` rule in `css/fonts.css`; Noto Sans/Serif and Open Sans also carry
a width axis, left at its default); Liberation Sans is static, so its 400 and
700 weights are shipped as separate files. All are subsetted to latin +
latin-ext and served locally by the theme — no external requests.
Inter, Noto Sans and Noto Serif are variable fonts (weight axis declared in
the `@font-face` rule in `css/fonts.css`; Noto Sans/Serif also carry a width
axis, left at its default); Atkinson Hyperlegible is static, so its 400 and
700 weights are shipped as separate files (like Liberation Sans was). All are
served locally by the theme — no external requests.
Purged in row 228 (kept out of the bundle on purpose): EB Garamond (print-first
hairlines degrade at 16px on low-quality screens), Liberation Sans 400/700
(redundant next to Inter/Noto Sans; the browser's own Arial is the Arial
fallback), Open Sans (duplicated Inter's role), Source Serif 4 (superfluous
next to Noto Serif). See the theme README.md "Default font" for the rationale.
# How to add your own font (walkthrough)