fix(gui): style native select options for readable dropdowns in dark mode

This commit is contained in:
Lucas Guerra committed 2026-11-02 10:07:09 -03:00
1 parent f388d95839
commit d1475e7141
1 file changed
+2
+2
View File
@@ -335,6 +335,8 @@ input, select, textarea {
}
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea { background: rgba(255, 255, 255, 0.8); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14); }
/* The select background is translucent; the open dropdown does not inherit it and rendered white text on white in dark mode. */
select option, select optgroup { background-color: var(--panel-solid); color: var(--text); }
.btn {
display: inline-flex;