feat: #3626812 Host the fonts in the theme and expose them to UI Skins

Issue: https://www.drupal.org/project/ui_suite_uikit/issues/3626812

Stacked on the merge request of #3626811: merge that one first.

  • Serve Atkinson Hyperlegible Next, Atkinson Hyperlegible Mono and Noto Sans Arabic from the theme, as woff2 subsets with their OFL licenses
  • Add fonts.css with tuned fallback faces, and load it in the base library and in CKEditor 5
  • Add a Font theme setting (atkinson or system) printed as data-font, with its schema, a preload link and a post update
  • Give the headings and the code their own font tokens, and expose the font family, heading font, code font and line length to UI Skins
  • Replace the 65ch line length with a 32em token, at most 80 characters per line
  • Copy the font files as they are in themes generated from the starterkit
  • Add the fonts feature: fonts in use, files served by the theme, no request to another site, line length, the setting and UI Skins

AI-Generated: Yes

Merge request reports

Loading
Loading