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

@ -4,7 +4,9 @@
/* Each font is selectable in the theme options (Fonts category, optgroup "Bundled open source fonts" in config.xml). The class rules are GENERIC (.font-<value>, not body-scoped) on purpose: */
/* the base font is applied as font-<value> on <body>, and per-element font overrides (fontselect options) apply the same class on individual elements. */
/* To add your own font to this theme: see files/fonts/README.md. Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt. */
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 */
/* Row 228 font set: Inter (default, primary), Noto Sans (multilingual fallback, stacked behind Inter), Noto Serif (the one serif), Atkinson Hyperlegible (accessibility variant). */
/* Purged row 228: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4 — see README.md "Default font" for the rationale. */
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 — DEFAULT font (row 228) */
@font-face {
font-family: "Inter";
src: url("../files/fonts/inter-var.woff2") format("woff2");
@ -13,41 +15,7 @@
font-style: normal;
font-display: swap;
}
/* Source Serif 4 — serif — https://github.com/adobe-fonts/source-serif — OFL 1.1 */
@font-face {
font-family: "Source Serif 4";
src: url("../files/fonts/source-serif-4-var.woff2") format("woff2");
/* variable font: wght axis 200-900 */
font-weight: 200 900;
font-style: normal;
font-display: swap;
}
/* EB Garamond — serif — https://open-foundry.com/fonts/eb-garamond — OFL 1.1 */
@font-face {
font-family: "EB Garamond";
src: url("../files/fonts/eb-garamond-var.woff2") format("woff2");
/* variable font: wght axis 400-800 */
font-weight: 400 800;
font-style: normal;
font-display: swap;
}
/* Liberation Sans — sans-serif — https://open-foundry.com/fonts/liberation-sans — OFL 1.1
* (static weights: 400 and 700 are shipped as separate files) */
@font-face {
font-family: "Liberation Sans";
src: url("../files/fonts/liberation-sans-400.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Liberation Sans";
src: url("../files/fonts/liberation-sans-700.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Noto Sans — sans-serif — source: Google Fonts family "Noto Sans" — OFL 1.1 */
/* Noto Sans — sans-serif — https://github.com/notofonts/latin-greek-cyrillic — OFL 1.1 — multilingual fallback, stacked behind Inter */
@font-face {
font-family: "Noto Sans";
src: url("../files/fonts/noto-sans-var.woff2") format("woff2");
@ -56,7 +24,7 @@
font-style: normal;
font-display: swap;
}
/* Noto Serif — serif — source: Google Fonts family "Noto Serif" — OFL 1.1 */
/* Noto Serif — serif — https://github.com/notofonts/latin-greek-cyrillic — OFL 1.1 — the one bundled serif (row 228: covers non-Latin scripts too) */
@font-face {
font-family: "Noto Serif";
src: url("../files/fonts/noto-serif-var.woff2") format("woff2");
@ -65,29 +33,25 @@
font-style: normal;
font-display: swap;
}
/* Open Sans — sans-serif — source: Google Fonts family "Open Sans" — OFL 1.1 */
/* Atkinson Hyperlegible — sans-serif — https://github.com/googlefonts/atkinson-hyperlegible — OFL 1.1 — accessibility variant (row 228) */
/* static weights 400 and 700 shipped as separate files, like Liberation Sans was */
@font-face {
font-family: "Open Sans";
src: url("../files/fonts/open-sans-var.woff2") format("woff2");
/* variable font: wght axis 300-800 (wdth stays at default 100) */
font-weight: 300 800;
font-family: "Atkinson Hyperlegible";
src: url("../files/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("../files/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Inter is the default: Noto Sans is stacked directly behind it, so glyphs Inter lacks (non-Latin scripts) fall through to Noto Sans without a download of another family */
.font-inter {
font-family: "Inter", Arial, Helvetica, sans-serif;
}
.font-source_serif_4 {
font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}
.font-eb_garamond {
font-family: "EB Garamond", Georgia, "Times New Roman", serif;
}
.font-liberation_sans {
font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
font-family: "Inter", "Noto Sans", Arial, Helvetica, sans-serif;
}
.font-noto_sans {
@ -98,8 +62,9 @@
font-family: "Noto Serif", Georgia, "Times New Roman", serif;
}
.font-open_sans {
font-family: "Open Sans", Arial, Helvetica, sans-serif;
/* accessibility variant: distinct letterforms for respondents with lower vision or reading difficulties */
.font-atkinson_hyperlegible {
font-family: "Atkinson Hyperlegible", "Inter", "Noto Sans", Arial, Helvetica, sans-serif;
}
/*# sourceMappingURL=fonts.css.map */