From 7b9a6d77ab7fca69acdc657426257ed6b064c58b Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Fri, 23 Dec 2022 21:41:23 +0100 Subject: [PATCH] change colors to tokyo night --- assets/launcher.css | 4 ++++ preload/preload.js | 2 +- ui/windowManager.js | 5 +---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/assets/launcher.css b/assets/launcher.css index 424c962..e03c0a6 100644 --- a/assets/launcher.css +++ b/assets/launcher.css @@ -8,6 +8,10 @@ font-family: 'Exo 2', 'Roboto' !important; } +body { + background-color: #24283B; +} + .sections { display: flex; flex-flow: column; diff --git a/preload/preload.js b/preload/preload.js index 0fe0882..0f5259a 100644 --- a/preload/preload.js +++ b/preload/preload.js @@ -7,7 +7,7 @@ let loggedIn = false; window.addEventListener('DOMContentLoaded', () => { titlebar = new Titlebar({ - backgroundColor: Color.fromHex("#303030"), + backgroundColor: Color.fromHex("#24283B"), itemBackgroundColor: Color.fromHex("#121212"), menu: null, maximizable: false diff --git a/ui/windowManager.js b/ui/windowManager.js index d0b7042..183a778 100644 --- a/ui/windowManager.js +++ b/ui/windowManager.js @@ -12,7 +12,7 @@ module.exports = { minWidth: windowWidth / 1.25, frame: false, titleBarStyle: 'hidden', - backgroundColor: "#121212", + backgroundColor: "#24283B", resizable: false, maximizable: false, minimizable: true, @@ -34,9 +34,6 @@ module.exports = { window.webContents.setUserAgent(`${appInfo.appName} ${appInfo.appVersion}`); attachTitlebarToWindow(window); - // window.webContents.openDevTools({ - // mode: "detach" - // }); return window; },