From cd71559564732e4f2b4752560ff1b6de6f737a79 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Wed, 19 Jul 2023 13:32:33 -0700 Subject: nojs configurable default switcher theme --- static/js/theme.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/js/theme.min.js') diff --git a/static/js/theme.min.js b/static/js/theme.min.js index 612895e..8804552 100644 --- a/static/js/theme.min.js +++ b/static/js/theme.min.js @@ -1 +1 @@ -"light"!==localStorage.getItem("theme")&&(localStorage.getItem("theme")||window.matchMedia("(prefers-color-scheme: dark)").matches)||document.documentElement.classList.add("light"); \ No newline at end of file +"switch"!==localStorage.getItem("theme")&&(localStorage.getItem("theme")||window.matchMedia("(prefers-color-scheme: dark)").matches)||document.documentElement.classList.add("switch"); \ No newline at end of file -- cgit v1.3.1