From 085c7854c919bb83e121280ca568893827bcd8a4 Mon Sep 17 00:00:00 2001 From: 1leozhao Date: Fri, 27 Jun 2025 00:14:08 -0500 Subject: [PATCH] bug fix 451 --- ui/theme/theme.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/theme/theme.go b/ui/theme/theme.go index 9e9acae..f8c5f5b 100644 --- a/ui/theme/theme.go +++ b/ui/theme/theme.go @@ -134,9 +134,9 @@ func (m *MyTheme) Color(name fyne.ThemeColorName, defVariant fyne.ThemeVariant) if variant == theme.VariantDark { return color.White } - // For light theme, use a darker version of the foreground color instead of pure black + // For light theme, use a darker version of the foreground color foreground := colorOrDefault(colors.Foreground, defColors.Foreground, theme.ColorNameForeground, variant) - return darkenColor(foreground, 0.3) + return darkenColor(foreground, 0.33) case ColorNameIconButton: foreground := colorOrDefault(colors.Foreground, defColors.Foreground, theme.ColorNameForeground, variant) if variant == theme.VariantDark {