From 49324a66379e9da2a84b8edb54560e39576fcac0 Mon Sep 17 00:00:00 2001 From: Reditus Date: Fri, 15 May 2026 03:49:07 +0100 Subject: [PATCH] Fix theme dropdown text visibility on dark themes --- static/themes.css | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/static/themes.css b/static/themes.css index 5cfdf54..f8a82e7 100644 --- a/static/themes.css +++ b/static/themes.css @@ -351,7 +351,7 @@ right: 0; background: var(--card-bg); min-width: 180px; - box-shadow: 0 4px 16px rgba(0,0,0,0.2); + box-shadow: 0 4px 16px rgba(0,0,0,0.3); border-radius: 8px; z-index: 1000; padding: 8px 0; @@ -386,6 +386,31 @@ background: var(--primary-dark); } +/* Dark theme dropdown adjustments - ensure text is always readable */ +[data-theme="harkonnen"] .theme-dropdown-content, +[data-theme="spacing-guild"] .theme-dropdown-content, +[data-theme="tleilax"] .theme-dropdown-content, +[data-theme="emperor"] .theme-dropdown-content { + background: #2a2a35; + border-color: #4a4a5a; +} + +[data-theme="harkonnen"] .theme-option, +[data-theme="spacing-guild"] .theme-option, +[data-theme="tleilax"] .theme-option, +[data-theme="emperor"] .theme-option, +[data-theme="corrino"] .theme-option { + color: #e8e8f0; +} + +[data-theme="harkonnen"] .theme-option:hover, +[data-theme="spacing-guild"] .theme-option:hover, +[data-theme="tleilax"] .theme-option:hover, +[data-theme="emperor"] .theme-option:hover, +[data-theme="corrino"] .theme-option:hover { + background: rgba(255,255,255,0.1); +} + .theme-swatch { width: 20px; height: 20px;