diff options
| author | Jieiku | 2023-07-19 13:32:33 -0700 |
|---|---|---|
| committer | Jieiku | 2023-07-19 13:32:33 -0700 |
| commit | cd71559564732e4f2b4752560ff1b6de6f737a79 (patch) | |
| tree | f3fb6331389806a8c384c2d3459a125df61c34e0 /static/js/theme_light.min.js | |
| parent | 65f135a6a2f7be105bfe9ce95796b2314627b20d (diff) | |
| download | abridge-cd71559564732e4f2b4752560ff1b6de6f737a79.tar.gz abridge-cd71559564732e4f2b4752560ff1b6de6f737a79.tar.bz2 abridge-cd71559564732e4f2b4752560ff1b6de6f737a79.zip | |
nojs configurable default switcher theme
Diffstat (limited to 'static/js/theme_light.min.js')
| -rw-r--r-- | static/js/theme_light.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/theme_light.min.js b/static/js/theme_light.min.js new file mode 100644 index 0000000..fca2f11 --- /dev/null +++ b/static/js/theme_light.min.js @@ -0,0 +1 @@ +"switch"!==localStorage.getItem("theme")&&(localStorage.getItem("theme")||window.matchMedia("(prefers-color-scheme: light)").matches)||document.documentElement.classList.add("switch");
\ No newline at end of file |
