From cf6a19a7fcd838413636e22452260436b795bd46 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Mon, 9 Sep 2024 21:44:39 -0700 Subject: [PATCH] Use Noto Sans as a fallback if Delicious fails to load This shouldn't ever be an issue in practice? I just noticed it because something funny is going on with the `#userbar` element specifically not using the Delicious font, and so I figured, hey, this simulates a very real possible scenario, I'd rather use our consistent sans font in this case! --- app/assets/stylesheets/partials/clean/_constants.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/partials/clean/_constants.sass b/app/assets/stylesheets/partials/clean/_constants.sass index d0f98358..21fd644c 100644 --- a/app/assets/stylesheets/partials/clean/_constants.sass +++ b/app/assets/stylesheets/partials/clean/_constants.sass @@ -18,7 +18,7 @@ $error-color: #8a1f11 $error-bg-color: #fbe3e4 $error-border-color: #fbc2c4 -$header-font: Delicious, Helvetica, Arial, Verdana, sans-serif +$header-font: Delicious, "Noto Sans", Helvetica, Arial, Verdana, sans-serif $main-font: "Noto Sans", Helvetica, Arial, Verdana, sans-serif $text-font: "Noto Serif", Georgia, "Times New Roman", Times, serif