diff options
author | 2018-11-15 21:26:16 +0100 | |
---|---|---|
committer | 2018-11-15 21:26:16 +0100 | |
commit | 85e71bfe984301eb663178fd98b747751e0ba0ed (patch) | |
tree | e7d4e8512f83c6c3a2292b8fb8deef334a18c4cf /src | |
parent | Fix settings override (diff) | |
download | ferdium-app-85e71bfe984301eb663178fd98b747751e0ba0ed.tar.gz ferdium-app-85e71bfe984301eb663178fd98b747751e0ba0ed.tar.zst ferdium-app-85e71bfe984301eb663178fd98b747751e0ba0ed.zip |
Set background color based on darkMode
Diffstat (limited to 'src')
-rw-r--r-- | src/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js index 4480199a7..1a5704736 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -87,8 +87,7 @@ const createWindow = () => { | |||
87 | minHeight: 500, | 87 | minHeight: 500, |
88 | titleBarStyle: isMac ? 'hidden' : '', | 88 | titleBarStyle: isMac ? 'hidden' : '', |
89 | frame: isLinux, | 89 | frame: isLinux, |
90 | // backgroundColor: '#3498db', | 90 | backgroundColor: !settings.get('darkMode') ? '#3498db' : '#1E1E1E', |
91 | backgroundColor: '#1E1E1E', | ||
92 | }); | 91 | }); |
93 | 92 | ||
94 | // Initialize System Tray | 93 | // Initialize System Tray |