diff --git a/desktop/src-tauri/src/cli.rs b/desktop/src-tauri/src/cli.rs index 6e3d1de..ebc861e 100644 --- a/desktop/src-tauri/src/cli.rs +++ b/desktop/src-tauri/src/cli.rs @@ -104,7 +104,6 @@ impl CodeburnCli { .kill_on_drop(true); #[cfg(windows)] { - use std::os::windows::process::CommandExt; const CREATE_NO_WINDOW: u32 = 0x08000000; cmd.creation_flags(CREATE_NO_WINDOW); } diff --git a/desktop/src/styles.css b/desktop/src/styles.css index 9db979f..de00bf2 100644 --- a/desktop/src/styles.css +++ b/desktop/src/styles.css @@ -774,8 +774,9 @@ html, body, #root { animation: fadeIn 0.2s ease-in-out; } @media (prefers-color-scheme: dark) { - .loading-overlay { background: rgba(28, 24, 22, 0.6); } + :root:not([data-theme="light"]) .loading-overlay { background: rgba(28, 24, 22, 0.6); } } +:root[data-theme="dark"] .loading-overlay { background: rgba(28, 24, 22, 0.6); } .loading-content { display: flex; flex-direction: column;