fix dark mode cmd + k

This commit is contained in:
Patrick Erichsen 2026-03-24 14:40:50 -07:00
parent f7f3ab7440
commit 3a1a00f55a
2 changed files with 34 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View file

@ -30,3 +30,37 @@ h6[id] {
background-color: transparent; background-color: transparent;
} }
} }
/* Fix: Cmd+K search modal dark mode - popover/background CSS vars unset */
.dark [role="dialog"].bg-background {
background-color: #1a1a1a;
border-color: #333;
}
.dark .bg-popover {
background-color: #1a1a1a;
}
.dark .text-popover-foreground {
color: #e5e5e5;
}
.dark [cmdk-item] {
color: #e5e5e5;
}
.dark [cmdk-item][data-selected="true"] {
background-color: #333;
}
.dark [cmdk-input] {
color: #e5e5e5;
}
.dark [cmdk-separator] {
background-color: #333;
}
.dark [cmdk-group-heading] {
color: #999;
}