Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultInvTextColor = color.RGBA{R: 30, G: 30, B: 30, A: 255} DefaultTextColor = color.RGBA{R: 230, G: 230, B: 230, A: 255} DefaultHintColor = color.RGBA{R: 200, G: 200, B: 200, A: 255} DefaultBackgroundColor = color.RGBA{A: 255} SolarWindBackgroundColor = color.RGBA{R: 45, G: 0, B: 45, A: 255} AsteriodsBackgroundColor = color.RGBA{R: 75, G: 0, B: 0, A: 255} )
Functions ¶
This section is empty.
Types ¶
type Theme ¶
type Theme struct {
*material.Theme
SpecialCardTextColor color.RGBA
BattlefieldCardTextColor color.RGBA
WarshipCardTextColor color.RGBA
DefaultCardBackgroundColor color.RGBA
ActiveCardBackgroundColor color.RGBA
CardWidth, CardHeight unit.Value
CardCornerRounding unit.Value
Background color.RGBA
SolarWindBackground color.RGBA
AsteriodsBackground color.RGBA
}
func NewGameTheme ¶
func NewGameTheme() *Theme
func (*Theme) LayoutCard ¶
func (*Theme) LayoutCardHeader ¶
Click to show internal directories.
Click to hide internal directories.