aboutsummaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-09-24 20:23:49 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-09-24 20:23:49 +0200
commit294608dabdb642e7fff6bf1d6fd5dc2c7a7aa9ce (patch)
treeec7afde6c39be214b107b84a75538ee6632c3a2d /src/scripts
parentbe9f98490c258f64694226c746de1f0e35c00672 (diff)
RSS, new colors, minor CSS
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/darktheme.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/darktheme.js b/src/scripts/darktheme.js
index 0c577b6..a3f0333 100644
--- a/src/scripts/darktheme.js
+++ b/src/scripts/darktheme.js
@@ -12,11 +12,11 @@ if (theme) {
function setTheme(dark) {
if (dark) {
document.documentElement.classList.add("dark-mode");
- themeButton.className = "fa fa-sun-o";
+ // themeButton.className = "fa fa-sun-o";
localStorage.setItem("theme", "dark");
} else {
document.documentElement.classList.remove("dark-mode");
- themeButton.className = "fa fa-moon-o";
+ // themeButton.className = "fa fa-moon-o";
localStorage.setItem("theme", "light");
}
isDark = dark;