From 70f4a3e37ca03060203413aadb00fd883206aa52 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 31 May 2024 21:31:07 +0300 Subject: [PATCH] main.scss: permit fallback to system-ui for Android, explain in comment --- assets/main.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 13b5356..453e644 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -4,8 +4,12 @@ @charset "utf-8"; -$base-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman", - serif; +// Apparently my Android understands system-ui, but not ui-serif, so for the +// best experience, I will permit fallback, even if it will be sans-serif. +// I imagine it's a small minority and most users will get either ui-serif +// or fallback further down the fallback list, perhaps all the way to serif. +$base-font-family: ui-serif, system-ui, "Liberation Serif", Tinos, + "Times New Roman", serif; $monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New", monospace;