Added TextPositive & TextNegative colors.
This commit is contained in:
parent
c709d906d0
commit
ff064bbf1f
@ -34,8 +34,12 @@ type Palette struct {
|
||||
Text color.Color
|
||||
// TextDisabled is disabled text color.
|
||||
TextDisabled color.Color
|
||||
// TextNegative is the text color associated with a negative event.
|
||||
TextNegative color.Color
|
||||
// TextOnPrimary is the text color when used with the main contrast color as background.
|
||||
TextOnPrimary color.Color
|
||||
// TextPositive is the text color associated with a positive event.
|
||||
TextPositive color.Color
|
||||
}
|
||||
|
||||
type Style struct {
|
||||
@ -75,7 +79,9 @@ func DefaultPalette() *Palette {
|
||||
ShadedBackground: RGBA(0xFA, 0xFA, 0xFA, 0xFF),
|
||||
Text: color.Black,
|
||||
TextDisabled: RGBA(0xBD, 0xBD, 0xBD, 0xFF),
|
||||
TextNegative: RGBA(0xFF, 0x43, 0x36, 0xFF),
|
||||
TextOnPrimary: color.White,
|
||||
TextPositive: RGBA(0x4C, 0xAF, 0x50, 0xFF),
|
||||
}
|
||||
}
|
||||
return defaultPalette
|
||||
|
Loading…
Reference in New Issue
Block a user