mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-04-08 15:10:34 +08:00
Pass "system" to set_window_theme instead of explicitly detecting dark/light, so Tauri uses window.set_theme(None) and the WebView's prefers-color-scheme media query stays in sync with the real OS theme.