fix(ui): fix washed out dropdown colors in dark mode

This patch enforces a dark-mode-friendly background and text color on the dropdown elements.
No new dependencies introduced.

References #33931
This commit is contained in:
JustasM 2025-01-01 16:39:58 +02:00
parent 7769010e6e
commit 5044270e68

View file

@ -69,6 +69,14 @@
justify-content: center; justify-content: center;
} }
@media (prefers-color-scheme: dark) {
.dropdown-content,
select,
option {
background-color: var(--vscode-tab-activeBackground);
}
}
.tabbed-pane-tab-counter.error { .tabbed-pane-tab-counter.error {
background: var(--vscode-list-errorForeground); background: var(--vscode-list-errorForeground);
color: var(--vscode-button-foreground); color: var(--vscode-button-foreground);