Replace UnifrakturMaguntia with New Rocker, fix font picker duplicates
Picker font-variable regexes only allowed [a-z-], so --font-exo2 was never parsed or stripped: picking another font left the old row behind and the selection showed wrong. Now digits are allowed, stripping is declaration-level (handles inline rows) and removes all font rows before inserting, and the picker re-parses on every CSS edit so manual changes update the selection live.
This commit is contained in:
@@ -117,7 +117,7 @@ not for the public pages. See `docs/design-principles.md` for the design.
|
||||
an orange racing-tab nav clipped with a bezier `shape()`), `pygments.css`,
|
||||
and `fonts/` (self-hosted Source
|
||||
Sans 3/Source Serif 4/Fraunces/Literata/Cormorant/Playfair
|
||||
Display/Inter/Montserrat/Fira Code/Cause/Exo 2/UnifrakturMaguntia
|
||||
Display/Inter/Montserrat/Fira Code/Cause/Exo 2/New Rocker
|
||||
variable woff2). The `::view-transition*` block at the end of `pagerite.css` (from
|
||||
termotohtori.fi) is fragile — do not tweak.
|
||||
- Vite builds ES-module `.js` outputs; the backend renders `<script
|
||||
|
||||
Reference in New Issue
Block a user