diff options
author | Volpeon <git@volpeon.ink> | 2021-05-15 22:26:12 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-05-15 22:26:12 +0200 |
commit | 6bce22685640a3032d1d3815e44b60e7552bfb82 (patch) | |
tree | 77e711a29a6793bd2e296ab4b64ac11b9b811177 /content | |
parent | Separate script file (diff) | |
download | volpeon.ink-6bce22685640a3032d1d3815e44b60e7552bfb82.tar.gz volpeon.ink-6bce22685640a3032d1d3815e44b60e7552bfb82.tar.bz2 volpeon.ink-6bce22685640a3032d1d3815e44b60e7552bfb82.zip |
Use prefers-color-scheme media query
Diffstat (limited to 'content')
-rw-r--r-- | content/script.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/content/script.js b/content/script.js deleted file mode 100644 index 649da9e..0000000 --- a/content/script.js +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | const lightTheme = localStorage.getItem("light"); | ||
2 | |||
3 | if (lightTheme === "true") { | ||
4 | document.documentElement.classList.add("t-light"); | ||
5 | } | ||