Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-06-02 01:27:08 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-06-02 01:27:08 +0300
commitddf80f0972497a2cf15afc73dd7678e30bf06f99 (patch)
treef9def0b2dcc53ab5b15d5e4d587c832055443db4 /static
parent632bc7154d962327daf84c94ebcc941105017988 (diff)
Fixed theme color
Diffstat (limited to 'static')
-rw-r--r--static/js/toggleTheme.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/toggleTheme.js b/static/js/toggleTheme.js
index c96dc63..0922a0e 100644
--- a/static/js/toggleTheme.js
+++ b/static/js/toggleTheme.js
@@ -4,7 +4,7 @@ let toggleTheme = function() {
let elems = document.querySelectorAll(`.${darkTheme[key]}`);
elems.forEach(elem => elem.classList.add(lightTheme[key]));
elems.forEach(elem => elem.classList.remove(darkTheme[key]));
- themeColor.content = "#2c2b2b"
+ themeColor.content = "#fff"
}
isDark = !isDark;
} else {
@@ -12,7 +12,7 @@ let toggleTheme = function() {
let elems = document.querySelectorAll(`.${lightTheme[key]}`);
elems.forEach(elem => elem.classList.add(darkTheme[key]));
elems.forEach(elem => elem.classList.remove(lightTheme[key]));
- themeColor.content = "#000000"
+ themeColor.content = "#2c2b2b"
}
isDark = !isDark;
}