aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/theme/theme.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/theme/theme.go b/internal/theme/theme.go
index ed10f80..9e3d30b 100644
--- a/internal/theme/theme.go
+++ b/internal/theme/theme.go
@@ -193,7 +193,8 @@ func (t *ResolvedTheme) GenerateVariableOverrides() string {
return `
/* OpenCode Theme - Override Kaze CSS Variables */
-:root, :root:not(.dark) {
+/* Light mode - uses theme's light colors */
+:root, :root.light {
/* Background colors */
--bg-primary: var(--theme-background);
--bg-secondary: var(--theme-background-panel);
@@ -215,7 +216,8 @@ func (t *ResolvedTheme) GenerateVariableOverrides() string {
--status-unknown: var(--theme-text-muted);
}
-.dark {
+/* Dark mode - uses theme's dark colors */
+:root.dark {
/* Background colors */
--bg-primary: var(--theme-background);
--bg-secondary: var(--theme-background-panel);