From 3af6d9131f6dfc138856d718ec96626344095ec8 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 23:24:44 -0700 Subject: Optimizations and Fixes --- static/js/theme.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/js/theme.min.js (limited to 'static/js/theme.min.js') diff --git a/static/js/theme.min.js b/static/js/theme.min.js new file mode 100644 index 0000000..612895e --- /dev/null +++ b/static/js/theme.min.js @@ -0,0 +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 -- cgit v1.3.1