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