ui: fix unreadable select dropdowns

Native <select> option popups fell back to the OS default (light) background
while inheriting the dark theme's light text — light-on-light, unreadable.
Pin select/option to the card background + foreground text in index.css.
This commit is contained in:
2026-06-15 09:12:22 -07:00
parent ba60019a52
commit 71994bbaf9

View File

@@ -17,3 +17,13 @@ body {
color: var(--foreground);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* Native <select> popups otherwise fall back to the OS default (light)
background while inheriting the light theme text — unreadable. Pin both. */
select {
color: var(--foreground);
}
select option {
background-color: var(--card);
color: var(--foreground);
}