Make dark mode black instead of the system window grey

The panel is a full-height strip that sits beside your work, where the
system grey reads as a half-lit window next to a dark editor. Dark mode
is now pure black, with card and row colours in one Theme file so both
the panel background and the strip under the titlebar match.
This commit is contained in:
2026-10-09 18:04:08 +08:00
parent 6580a79d40
commit 78d56ca79b
4 changed files with 40 additions and 1 deletions
+2 -1
View File
@@ -40,6 +40,7 @@ struct PanelView: View {
composerField
}
.frame(minWidth: 300)
.background(Theme.backgroundSwiftUI)
.background(shortcutButtons)
.overlay(sectionSwitcher)
.overlay(syncOverlay)
@@ -248,7 +249,7 @@ struct PanelView: View {
private func rowBackground(_ item: PromptItem) -> Color {
if selection.contains(item.id) { return Color.accentColor.opacity(0.25) }
return Color.primary.opacity(0.05)
return Theme.rowSwiftUI
}
@ViewBuilder