mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
fixed startup theme
This commit is contained in:
@@ -357,6 +357,7 @@ function createWindow() {
|
|||||||
title: isProApp() ? 'DbGate Premium' : 'DbGate',
|
title: isProApp() ? 'DbGate Premium' : 'DbGate',
|
||||||
frame: useNativeMenu,
|
frame: useNativeMenu,
|
||||||
titleBarStyle: useNativeMenu ? undefined : 'hidden',
|
titleBarStyle: useNativeMenu ? undefined : 'hidden',
|
||||||
|
backgroundColor: electron.nativeTheme.shouldUseDarkColors ? '#111111' : undefined,
|
||||||
...bounds,
|
...bounds,
|
||||||
icon: os.platform() == 'win32' ? 'icon.ico' : path.resolve(__dirname, '../icon.png'),
|
icon: os.platform() == 'win32' ? 'icon.ico' : path.resolve(__dirname, '../icon.png'),
|
||||||
partition: isProApp() ? 'persist:dbgate-premium' : 'persist:dbgate',
|
partition: isProApp() ? 'persist:dbgate-premium' : 'persist:dbgate',
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
#starting-dbgate {
|
.starting-dbgate {
|
||||||
background-color: #111;
|
background-color: #111;
|
||||||
color: #e3e3e3;
|
color: #e3e3e3;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user