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:
parent
c66eceb9bb
commit
a1d58c7c79
1 changed files with 96 additions and 387 deletions
14
config.xml
14
config.xml
|
|
@ -127,17 +127,19 @@
|
|||
+ the "Bundled open source fonts" optgroup below). -->
|
||||
<!-- Default font and colors (row 159/174: category equals the options.twig tab label) -->
|
||||
<!-- When adding new items, please keep fonts ordered alphabetically -->
|
||||
<font type="dropdown" category="Default font and colors" width="4" title="Default font (body text)">noto_sans
|
||||
<!-- row 228: default font is now Inter (best screen readability of the bundled set);
|
||||
Noto Sans stays as the multilingual fallback stacked behind Inter in css/fonts.css;
|
||||
Atkinson Hyperlegible is the bundled accessibility variant (reading impairments).
|
||||
Purged from the bundle: EB Garamond, Liberation Sans, Open Sans, Source Serif 4 —
|
||||
see README.md "Default font" for the rationale. -->
|
||||
<font type="dropdown" category="Default font and colors" width="4" title="Default font (body text)">inter
|
||||
<dropdownoptions>
|
||||
<!-- Open source fonts bundled with this theme itself: font files in files/fonts/, @font-face + generic .font-<value> rules in css/fonts.css. See files/fonts/README.md (English) for how to add your own font here. -->
|
||||
<optgroup label="Bundled open source fonts">
|
||||
<option class="font-eb_garamond " value="eb_garamond" data-font-package="websafe">EB Garamond (serif)</option>
|
||||
<option class="font-atkinson_hyperlegible" value="atkinson_hyperlegible" data-font-package="websafe">Atkinson Hyperlegible (sans-serif, accessibility)</option>
|
||||
<option class="font-inter " value="inter" data-font-package="websafe">Inter (sans-serif)</option>
|
||||
<option class="font-liberation_sans " value="liberation_sans" data-font-package="websafe">Liberation Sans (sans-serif)</option>
|
||||
<option class="font-noto_sans " value="noto_sans" data-font-package="websafe">Noto Sans (sans-serif)</option>
|
||||
<option class="font-noto_sans " value="noto_sans" data-font-package="websafe">Noto Sans (sans-serif, multilingual fallback)</option>
|
||||
<option class="font-noto_serif " value="noto_serif" data-font-package="websafe">Noto Serif (serif)</option>
|
||||
<option class="font-open_sans " value="open_sans" data-font-package="websafe">Open Sans (sans-serif)</option>
|
||||
<option class="font-source_serif_4 " value="source_serif_4" data-font-package="websafe">Source Serif 4 (serif)</option>
|
||||
</optgroup>
|
||||
<!-- Custom fonts of a variant are appended to the optgroup below by variants/build.php ("fontOptions" in the variant json) -->
|
||||
<optgroup label="Custom (this theme)">
|
||||
|
|
|
|||
Loading…
Reference in a new issue