summaryrefslogtreecommitdiff
path: root/public/js/lib
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-01-16 14:38:14 +0700
committerGitHub2018-01-16 14:38:14 +0700
commit72011446613e9d22097879d3ec825416e46ca910 (patch)
tree0824f15f9db94cb80d39c2c7a0295205b94d160b /public/js/lib
parenta8fa88831705625e053c7d493a4b2f83b7b2a4a8 (diff)
parent6fc2c39eda766cffc7ef5c9e1d3d3cbce8ab7590 (diff)
Merge pull request #661 from edoardoo/darkTheme
Implemented dark theme.
Diffstat (limited to '')
-rw-r--r--public/js/lib/appState.js3
-rw-r--r--public/js/lib/editor/ui-elements.js1
2 files changed, 3 insertions, 1 deletions
diff --git a/public/js/lib/appState.js b/public/js/lib/appState.js
index fb8030e1..87aaf737 100644
--- a/public/js/lib/appState.js
+++ b/public/js/lib/appState.js
@@ -2,7 +2,8 @@ import modeType from './modeType'
let state = {
syncscroll: true,
- currentMode: modeType.view
+ currentMode: modeType.view,
+ nightMode: false
}
export default state
diff --git a/public/js/lib/editor/ui-elements.js b/public/js/lib/editor/ui-elements.js
index 0d330d77..88a1e3ca 100644
--- a/public/js/lib/editor/ui-elements.js
+++ b/public/js/lib/editor/ui-elements.js
@@ -37,6 +37,7 @@ export const getUIElements = () => ({
edit: $('.ui-edit'),
view: $('.ui-view'),
both: $('.ui-both'),
+ night: $('.ui-night'),
uploadImage: $('.ui-upload-image')
},
infobar: {