fix: use light background color for Electron window chrome
Change BrowserWindow backgroundColor from dark #13110f (leftover from old design tokens) to #ffffff so the title bar area matches light mode. The old dark color was visible in light mode as a dark title bar strip.
This commit is contained in:
1 parent
259c0a279d
commit
dc05c97ce7
1 file changed
+1
-1
@@ -206,7 +206,7 @@ export function createDesktopShellService({
|
|||||||
y: savedWindowState.bounds.y,
|
y: savedWindowState.bounds.y,
|
||||||
minWidth: 1180,
|
minWidth: 1180,
|
||||||
minHeight: 760,
|
minHeight: 760,
|
||||||
backgroundColor: "#13110f",
|
backgroundColor: "#ffffff",
|
||||||
titleBarStyle: process.platform === "darwin" ? "hiddenInset" : "default",
|
titleBarStyle: process.platform === "darwin" ? "hiddenInset" : "default",
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: preloadPath,
|
preload: preloadPath,
|
||||||
|
|||||||
Reference in new issue
Block a user