summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-15 22:26:12 +0200
committerVolpeon <git@volpeon.ink>2021-05-15 22:26:12 +0200
commit6bce22685640a3032d1d3815e44b60e7552bfb82 (patch)
tree77e711a29a6793bd2e296ab4b64ac11b9b811177 /content
parentSeparate script file (diff)
downloadvolpeon.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.js5
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 @@
1const lightTheme = localStorage.getItem("light");
2
3if (lightTheme === "true") {
4 document.documentElement.classList.add("t-light");
5}