From 473020621435336cb8b91293a94846845d4a97db Mon Sep 17 00:00:00 2001 From: Andy <119136210+AndyMik90@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:20:11 +0100 Subject: [PATCH] auto-claude: 186-set-default-dark-mode-on-startup (#1656) * auto-claude: subtask-1-1 - Update DEFAULT_APP_SETTINGS.theme to dark Change default theme from 'system' to 'dark' so the app starts in dark mode by default on new installations. Co-Authored-By: Claude Opus 4.5 * test: update test to expect dark as default theme Update the settings:get handler test to expect 'dark' as the default theme instead of 'system' to match the new default. Co-Authored-By: Claude Opus 4.5 --------- Co-authored-by: Claude Opus 4.5 --- apps/frontend/src/main/__tests__/ipc-handlers.test.ts | 2 +- apps/frontend/src/shared/constants/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/main/__tests__/ipc-handlers.test.ts b/apps/frontend/src/main/__tests__/ipc-handlers.test.ts index 49c33b6b..749f96dd 100644 --- a/apps/frontend/src/main/__tests__/ipc-handlers.test.ts +++ b/apps/frontend/src/main/__tests__/ipc-handlers.test.ts @@ -564,7 +564,7 @@ describe("IPC Handlers", { timeout: 30000 }, () => { expect(result).toHaveProperty("success", true); const data = (result as { data: { theme: string } }).data; - expect(data).toHaveProperty("theme", "system"); + expect(data).toHaveProperty("theme", "dark"); }); }); diff --git a/apps/frontend/src/shared/constants/config.ts b/apps/frontend/src/shared/constants/config.ts index c5641f63..ea941206 100644 --- a/apps/frontend/src/shared/constants/config.ts +++ b/apps/frontend/src/shared/constants/config.ts @@ -24,7 +24,7 @@ export const UI_SCALE_STEP = 5; // ============================================ export const DEFAULT_APP_SETTINGS = { - theme: 'system' as const, + theme: 'dark' as const, colorTheme: 'default' as const, defaultModel: 'opus', agentFramework: 'auto-claude',