From a54e15c963d612e382019e3da440091cafe95f4f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 9 Jun 2024 18:20:35 +0300 Subject: [PATCH] main.scss: remove system-ui fallback --- assets/main.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 20c4259..e0b37b1 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -7,12 +7,10 @@ // Our variables $serif-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman", serif, emoji; -// The second font, system-ui, may map to serif or something else entirely -// instead of sans-serif, but it's less of an issue than the others -// considering how serifs have distinguishable homoglyphs (I and l or O and 0 -// etc.) -$sans-serif-font-family: ui-sans-serif, system-ui, "Liberation Sans", "Arimo", - "Arial", sans-serif; +// I would like to use system-ui as a fallback, but it just is too +// inconsistent. Refer to https://caniuse.com/extended-system-fonts +$sans-serif-font-family: ui-sans-serif, "Liberation Sans", "Arimo", "Arial", + sans-serif; $monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New", monospace, emoji; // Must be in the end or undefined error.