From d1475e7141d9fd2bb89b55a68aa5abc9c9fd5d54 Mon Sep 17 00:00:00 2001 From: Lucas Guerra Date: Mon, 2 Nov 2026 10:07:09 -0300 Subject: [PATCH] fix(gui): style native select options for readable dropdowns in dark mode --- apps/gui/ui/app.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/gui/ui/app.css b/apps/gui/ui/app.css index 0d1ccee..41a4a6e 100644 --- a/apps/gui/ui/app.css +++ b/apps/gui/ui/app.css @@ -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;