Skip to content

Commit 77dc5e3

Browse files
committed
unify window and boot screen background color
1 parent 3e2b534 commit 77dc5e3

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

apps/code/src/main/window.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export function createWindow(): void {
201201
? {
202202
titleBarStyle: "hidden" as const,
203203
titleBarOverlay: {
204-
color: "#0a0a0a",
204+
color: "#131316",
205205
symbolColor: "#ffffff",
206206
height: 36,
207207
},
@@ -223,7 +223,9 @@ export function createWindow(): void {
223223
height: savedState.height,
224224
minWidth: 800,
225225
minHeight: 600,
226-
backgroundColor: "#0a0a0a",
226+
// Matches --color-background (dark) so the pre-render window, the boot
227+
// loading screen and the app are one continuous color.
228+
backgroundColor: "#131316",
227229
...(windowIcon ? { icon: windowIcon } : {}),
228230
...platformWindowConfig,
229231
show: false,

apps/code/src/renderer/components/BootErrorBoundary.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const screenStyle: React.CSSProperties = {
1515
justifyContent: "center",
1616
gap: 16,
1717
padding: 24,
18-
backgroundColor: "#0a0a0a",
18+
backgroundColor: "#131316",
1919
color: "#fafafa",
2020
fontFamily:
2121
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
@@ -39,7 +39,7 @@ const buttonStyle: React.CSSProperties = {
3939
padding: "6px 16px",
4040
fontSize: 13,
4141
fontWeight: 500,
42-
color: "#0a0a0a",
42+
color: "#131316",
4343
backgroundColor: "#fafafa",
4444
border: "none",
4545
borderRadius: 6,

0 commit comments

Comments
 (0)