main.scss: remove system-ui fallback

This commit is contained in:
Aminda Suomalainen 2024-06-09 18:20:35 +03:00
parent aa42ac8308
commit a54e15c963
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -7,12 +7,10 @@
// Our variables // Our variables
$serif-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman", $serif-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman",
serif, emoji; serif, emoji;
// The second font, system-ui, may map to serif or something else entirely // I would like to use system-ui as a fallback, but it just is too
// instead of sans-serif, but it's less of an issue than the others // inconsistent. Refer to https://caniuse.com/extended-system-fonts
// considering how serifs have distinguishable homoglyphs (I and l or O and 0 $sans-serif-font-family: ui-sans-serif, "Liberation Sans", "Arimo", "Arial",
// etc.) sans-serif;
$sans-serif-font-family: ui-sans-serif, system-ui, "Liberation Sans", "Arimo",
"Arial", sans-serif;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New", $monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
monospace, emoji; monospace, emoji;
// Must be in the end or undefined error. // Must be in the end or undefined error.