From ab72ccb4a0a450b1460760ea60c4f3702fbc3da4 Mon Sep 17 00:00:00 2001 From: "zhenxing.shen" Date: Sun, 5 Jul 2026 11:36:11 +0800 Subject: [PATCH] fix(webview): respect system color scheme for prefers-color-scheme in web blocks Fixes #3318 by changing nativeTheme.themeSource from dark to system. Wave's own UI remains dark-themed via CSS color-scheme and custom scrollbar styling. --- emain/emain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emain/emain.ts b/emain/emain.ts index 8b08178aec..5cccc6a839 100644 --- a/emain/emain.ts +++ b/emain/emain.ts @@ -65,7 +65,7 @@ let confirmQuit = true; const waveDataDir = getWaveDataDir(); const waveConfigDir = getWaveConfigDir(); -electron.nativeTheme.themeSource = "dark"; +electron.nativeTheme.themeSource = "system"; console.log = log; console.log(