Fix dark mode loading overlay, remove unused import warning

This commit is contained in:
iamtoruk 2026-04-29 18:14:51 -07:00
parent bfff986b26
commit bdac99fe55
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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;