diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/script.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/script.js b/content/script.js new file mode 100644 index 0000000..649da9e --- /dev/null +++ b/content/script.js | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | const lightTheme = localStorage.getItem("light"); | ||
| 2 | |||
| 3 | if (lightTheme === "true") { | ||
| 4 | document.documentElement.classList.add("t-light"); | ||
| 5 | } | ||
