color adjustments
This commit is contained in:
+5
-3
@@ -16,13 +16,15 @@ var _ fyne.Theme = (*MyTheme)(nil)
|
||||
func (m MyTheme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) color.Color {
|
||||
switch name {
|
||||
case ColorNamePageBackground:
|
||||
return color.RGBA{R: 20, G: 20, B: 20, A: 255}
|
||||
return color.RGBA{R: 15, G: 15, B: 15, A: 255}
|
||||
case theme.ColorNameBackground:
|
||||
return color.RGBA{R: 40, G: 40, B: 40, A: 255}
|
||||
return color.RGBA{R: 30, G: 30, B: 30, A: 255}
|
||||
case theme.ColorNameScrollBar:
|
||||
return theme.DarkTheme().Color(theme.ColorNameForeground, variant)
|
||||
case theme.ColorNameButton:
|
||||
return theme.DarkTheme().Color(theme.ColorNameInputBackground, variant)
|
||||
return color.RGBA{R: 20, G: 20, B: 20, A: 50}
|
||||
case theme.ColorNameInputBackground:
|
||||
return color.RGBA{R: 20, G: 20, B: 20, A: 50}
|
||||
}
|
||||
return theme.DarkTheme().Color(name, variant)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user