feat(theme): overarching light-theme contrast (buttons, dividers, accent bars)

From the theme sweep review, three overarching light-theme fixes:
- Buttons: bump ImGuiCol_Button light overlays 13/20/28% -> 16/23/30% so the
  small/secondary buttons read as clearly as the main ones.
- Dividers + outlines: raise --divider (0.12-0.14 -> 0.20) and --outline
  (-> 0.24) across all light skins so section/list dividers are visible on white.
- Ratio/balance bars: deepen the muted --success/--warning greens/ambers in the
  light skins that were pale (light, marble, dune) so the shielded/transparent
  bars + success text are vivid (color-pop-light + iridescent were already vivid).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-04 18:19:31 -05:00
parent a457f0262e
commit e84cea27d9
6 changed files with 20 additions and 19 deletions

View File

@@ -420,10 +420,11 @@ void ApplyColorThemeToImGui(const ColorTheme& theme)
colors[ImGuiCol_ButtonHovered] = ImVec4(1.0f, 1.0f, 1.0f, 30.0f / 255.0f);
colors[ImGuiCol_ButtonActive] = ImVec4(1.0f, 1.0f, 1.0f, 45.0f / 255.0f);
} else {
// Darker overlays on light themes — the old 5/8/12% were barely-there grey and washed out.
colors[ImGuiCol_Button] = ImVec4(0, 0, 0, 0.13f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0, 0, 0, 0.20f);
colors[ImGuiCol_ButtonActive] = ImVec4(0, 0, 0, 0.28f);
// Darker overlays on light themes — the old 5/8/12% were barely-there grey and washed out;
// bumped again so the small/secondary buttons read as clearly as the main ones.
colors[ImGuiCol_Button] = ImVec4(0, 0, 0, 0.16f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0, 0, 0, 0.23f);
colors[ImGuiCol_ButtonActive] = ImVec4(0, 0, 0, 0.30f);
}
// Headers (collapsing headers, tree nodes, selectable, menu items)