summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-22 16:22:44 +0300
committerAndrew Dolgov <[email protected]>2020-02-22 16:22:44 +0300
commit4ab3854aede3882779138d91594b588e1a38c70e (patch)
treefed3e75f57af7365fee88325c8ffd7e3e221c203 /js
parent84b847074ef654a0ab5e49a3f33825e8b6d6c7c8 (diff)
don't generate default.css, replace with themes/light.css as a default root CSS file
Diffstat (limited to 'js')
-rw-r--r--js/AppBase.js2
-rw-r--r--js/utility.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/AppBase.js b/js/AppBase.js
index 8a710d685..b6d4082df 100644
--- a/js/AppBase.js
+++ b/js/AppBase.js
@@ -20,7 +20,7 @@ define(["dojo/_base/declare"], function (declare) {
console.log("night mode changed to", is_night);
if (link) {
- const css_override = is_night ? "themes/night.css" : "css/default.css";
+ const css_override = is_night ? "themes/night.css" : "themes/light.css";
link.setAttribute("href", css_override + "?" + Date.now());
}
},
diff --git a/js/utility.js b/js/utility.js
index b33f2922c..2380f9823 100644
--- a/js/utility.js
+++ b/js/utility.js
@@ -6,7 +6,7 @@ Event.observe(window, "load", function() {
console.log("night mode changed to", is_night);
if (link) {
- const css_override = is_night ? "themes/night.css" : "css/default.css";
+ const css_override = is_night ? "themes/night.css" : "themes/light.css";
link.setAttribute("href", css_override + "?" + Date.now());
}