Documentation
¶
Index ¶
- type Theme
- func (t *Theme) DefaultBaseStyle() lipgloss.Style
- func (t *Theme) DefaultButtonHoverStyle() lipgloss.Style
- func (t *Theme) DefaultButtonStyle() lipgloss.Style
- func (t *Theme) DefaultH1Style() lipgloss.Style
- func (t *Theme) DefaultH2Style() lipgloss.Style
- func (t *Theme) DefaultH3Style() lipgloss.Style
- func (t *Theme) DefaultH4Style() lipgloss.Style
- func (t *Theme) DefaultH5Style() lipgloss.Style
- func (t *Theme) DefaultLabelStyle() lipgloss.Style
- func (t *Theme) DefaultModuleActiveViewStyle() lipgloss.Style
- func (t *Theme) DefaultModuleHoverViewStyle() lipgloss.Style
- func (t *Theme) DefaultModuleViewStyle() lipgloss.Style
- func (t *Theme) DefaultPStyle() lipgloss.Style
- func (t *Theme) DefaultStyle(fg string, bg string, bd string, padding [4]int, margin [4]int) lipgloss.Style
- func (t *Theme) DefaultTextBlackStyle() lipgloss.Style
- func (t *Theme) DefaultTextDangerStyle() lipgloss.Style
- func (t *Theme) DefaultTextDarkStyle() lipgloss.Style
- func (t *Theme) DefaultTextInfoStyle() lipgloss.Style
- func (t *Theme) DefaultTextLightStyle() lipgloss.Style
- func (t *Theme) DefaultTextMutedStyle() lipgloss.Style
- func (t *Theme) DefaultTextPrimaryStyle() lipgloss.Style
- func (t *Theme) DefaultTextSecondaryStyle() lipgloss.Style
- func (t *Theme) DefaultTextSuccessStyle() lipgloss.Style
- func (t *Theme) DefaultTextWarningStyle() lipgloss.Style
- func (t *Theme) DefaultTextWhiteStyle() lipgloss.Style
- type ThemeBasics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Theme ¶
type Theme struct {
Colors struct {
Primary string
Secondary string
Success string
Danger string
Warning string
Info string
Light string
Dark string
Muted string
White string
Black string
}
Defaults struct {
Base ThemeBasics
H1 ThemeBasics
H2 ThemeBasics
H3 ThemeBasics
H4 ThemeBasics
H5 ThemeBasics
P ThemeBasics
Label ThemeBasics
Button struct {
TextColor string
BackgroundColor string
BorderColor string
Hover ThemeBasics
}
Module struct {
TextColor string
BackgroundColor string
BorderColor string
Hover ThemeBasics
Active ThemeBasics
}
}
}
func (*Theme) DefaultBaseStyle ¶ added in v0.0.7
func (*Theme) DefaultButtonHoverStyle ¶ added in v0.0.7
func (*Theme) DefaultButtonStyle ¶ added in v0.0.7
func (*Theme) DefaultH1Style ¶ added in v0.0.7
func (*Theme) DefaultH2Style ¶ added in v0.0.7
func (*Theme) DefaultH3Style ¶ added in v0.0.7
func (*Theme) DefaultH4Style ¶ added in v0.0.7
func (*Theme) DefaultH5Style ¶ added in v0.0.7
func (*Theme) DefaultLabelStyle ¶
func (*Theme) DefaultModuleActiveViewStyle ¶ added in v0.0.7
func (*Theme) DefaultModuleHoverViewStyle ¶ added in v0.0.7
func (*Theme) DefaultModuleViewStyle ¶
func (*Theme) DefaultPStyle ¶ added in v0.0.7
func (*Theme) DefaultStyle ¶ added in v0.0.8
func (*Theme) DefaultTextBlackStyle ¶
func (*Theme) DefaultTextDangerStyle ¶
func (*Theme) DefaultTextDarkStyle ¶
func (*Theme) DefaultTextInfoStyle ¶
func (*Theme) DefaultTextLightStyle ¶
func (*Theme) DefaultTextMutedStyle ¶
func (*Theme) DefaultTextPrimaryStyle ¶
func (*Theme) DefaultTextSecondaryStyle ¶
func (*Theme) DefaultTextSuccessStyle ¶
func (*Theme) DefaultTextWarningStyle ¶
func (*Theme) DefaultTextWhiteStyle ¶
type ThemeBasics ¶
Click to show internal directories.
Click to hide internal directories.