From a486961c4a2e52322787154a13dc3dcb577e058a Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 31 Dec 2025 14:16:40 -0500 Subject: [PATCH] fix(ui): Use hover color as default for buttons and inputs Changed button and input backgrounds to use the brighter hover color as their default appearance instead of dull grey. This makes dropdowns and buttons more visually appealing by default. --- internal/ui/components.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/ui/components.go b/internal/ui/components.go index 85036e1..f222fb1 100644 --- a/internal/ui/components.go +++ b/internal/ui/components.go @@ -37,7 +37,6 @@ func SetColors(grid, text color.Color) { type MonoTheme struct{} func (m *MonoTheme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) color.Color { - // Swap hover and selection colors switch name { case theme.ColorNameSelection: // Use the default hover color for selection @@ -45,6 +44,12 @@ func (m *MonoTheme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) c case theme.ColorNameHover: // Use the default selection color for hover return theme.DefaultTheme().Color(theme.ColorNameSelection, variant) + case theme.ColorNameButton: + // Use hover color as default button background + return theme.DefaultTheme().Color(theme.ColorNameHover, variant) + case theme.ColorNameInputBackground: + // Use hover color as default input background (for dropdowns/entries) + return theme.DefaultTheme().Color(theme.ColorNameHover, variant) } return theme.DefaultTheme().Color(name, variant) }