From a457f0262e8d7a32aff45ee2ca4bb8df6e4e11cb Mon Sep 17 00:00:00 2001 From: DanS Date: Sat, 4 Jul 2026 18:13:51 -0500 Subject: [PATCH] fix(theme): define light-theme input fields (darker FrameBg) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From the theme screenshot sweep: input fields, dropdowns and amount boxes were nearly invisible on light themes (Send form especially) — ImGuiCol_FrameBg was black@4% vs the dark theme's white@7%, so boxes blended into the white surface. Bump the light-theme FrameBg / hovered / active to 9/14/18% so inputs read as defined boxes. Affects all light skins. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/ui/material/color_theme.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ui/material/color_theme.cpp b/src/ui/material/color_theme.cpp index fbac292..8786612 100644 --- a/src/ui/material/color_theme.cpp +++ b/src/ui/material/color_theme.cpp @@ -382,9 +382,11 @@ void ApplyColorThemeToImGui(const ColorTheme& theme) colors[ImGuiCol_FrameBgHovered] = ImVec4(1.0f, 1.0f, 1.0f, 0.10f); colors[ImGuiCol_FrameBgActive] = ImVec4(1.0f, 1.0f, 1.0f, 0.15f); } else { - colors[ImGuiCol_FrameBg] = ImVec4(0, 0, 0, 0.04f); - colors[ImGuiCol_FrameBgHovered] = ImVec4(0, 0, 0, 0.07f); - colors[ImGuiCol_FrameBgActive] = ImVec4(0, 0, 0, 0.10f); + // Light themes: the old 4/7/10% black fills were nearly invisible on a white surface (input + // fields blended in). Darker fills so inputs/dropdowns read as defined boxes. + colors[ImGuiCol_FrameBg] = ImVec4(0, 0, 0, 0.09f); + colors[ImGuiCol_FrameBgHovered] = ImVec4(0, 0, 0, 0.14f); + colors[ImGuiCol_FrameBgActive] = ImVec4(0, 0, 0, 0.18f); } // Title bar