tweak disabled button color for light theme

This commit is contained in:
Drew Weymouth
2023-05-16 17:34:19 -07:00
parent 480bd7a89d
commit 9c1a137cf5
+5
View File
@@ -69,6 +69,11 @@ func (m *MyTheme) Color(name fyne.ThemeColorName, _ fyne.ThemeVariant) color.Col
return color.RGBA{R: 20, G: 20, B: 20, A: 50}
}
return color.RGBA{R: 200, G: 200, B: 200, A: 240}
case theme.ColorNameDisabledButton:
if variant == theme.VariantLight {
return color.RGBA{R: 205, G: 205, B: 205, A: 240}
}
return theme.DefaultTheme().Color(theme.ColorNameDisabledButton, variant)
case theme.ColorNameInputBackground:
if variant == theme.VariantDark {
return color.RGBA{R: 20, G: 20, B: 20, A: 50}