diff options
Diffstat (limited to 'site/themes/sine/layouts/partials/head.html')
| -rw-r--r-- | site/themes/sine/layouts/partials/head.html | 2 |
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); |
