summaryrefslogtreecommitdiff
path: root/site/themes/sine/layouts/partials/head.html
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2026-02-15 23:37:03 -0500
committertriethyl <triethylammonium@pm.me>2026-02-15 23:37:03 -0500
commita24b51a5d2798ca4beedece745a98163410a8b0d (patch)
treed99e29ee56a430761ee16bac7cde06cb43f71728 /site/themes/sine/layouts/partials/head.html
parent321fe94915eb8d7d79728ca9253a71042e017628 (diff)
themes overhaul and new font
Diffstat (limited to 'site/themes/sine/layouts/partials/head.html')
-rw-r--r--site/themes/sine/layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
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 <html>
document.documentElement.classList.add(preloadClass);