mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-02 08:15:55 +00:00
The browser paints a native <select>'s option list itself, so the bg-muted / text-foreground classes on the control never reach it. Themes whose --color-muted is translucent (Aurora Glass dark uses rgba(255,255,255,0.05)) composited to a light popup with near-white text, leaving every unselected option almost invisible. Pin option background/colour to the popover tokens, which every built-in theme defines as an opaque surface, and set color-scheme: dark on selects under .dark so Safari (which ignores option colours) renders a dark popup too. Fixes all ~40 native selects at once. Adds a stylesheet test that locks the rules and asserts every built-in theme's --color-popover stays opaque in each variant.