Documentation ¶
Index ¶
- func Body(th *Theme, txt string) material.LabelStyle
- func H1(th *Theme, txt string) material.LabelStyle
- func H2(th *Theme, txt string) material.LabelStyle
- func H3(th *Theme, txt string) material.LabelStyle
- func H4(th *Theme, txt string) material.LabelStyle
- func H5(th *Theme, txt string) material.LabelStyle
- func H6(th *Theme, txt string) material.LabelStyle
- func NewColors() (c map[string]string)
- func Small(th *Theme, txt string) material.LabelStyle
- type Theme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Theme ¶
type Theme struct { T *material.Theme //Shaper text.Shaper //TextSize unit.Value TextSize float32 //Color struct { // Primary color.RGBA // Text color.RGBA // Hint color.RGBA // InvText color.RGBA //} Colors map[string]string Fonts map[string]text.Typeface Icons map[string]*widget.Icon // contains filtered or unexported fields }
func (*Theme) ChangeLightDark ¶
func (t *Theme) ChangeLightDark()
Click to show internal directories.
Click to hide internal directories.