From a24b51a5d2798ca4beedece745a98163410a8b0d Mon Sep 17 00:00:00 2001 From: triethyl Date: Sun, 15 Feb 2026 23:37:03 -0500 Subject: themes overhaul and new font --- site/themes/sine/layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/themes/sine/layouts/partials/head.html') diff --git a/site/themes/sine/layouts/partials/head.html b/site/themes/sine/layouts/partials/head.html index e7c23e5..6651e89 100644 --- a/site/themes/sine/layouts/partials/head.html +++ b/site/themes/sine/layouts/partials/head.html @@ -8,7 +8,7 @@ // Run as early as possible (function() { const theme = localStorage.getItem("theme"); - const preloadClass = theme === "dark" ? "preload-dark" : "preload-light"; + const preloadClass = theme.includes("dark") ? "preload-dark" : "preload-light"; // Add preload class to document.documentElement.classList.add(preloadClass); -- cgit v1.2.3