diff options
Diffstat (limited to 'static/theme.min.js')
| -rw-r--r-- | static/theme.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/theme.min.js b/static/theme.min.js new file mode 100644 index 0000000..612895e --- /dev/null +++ b/static/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 |
