Documentation
¶
Index ¶
- type Theme
- func (t *Theme) DefaultLabelStyle() lipgloss.Style
- func (t *Theme) DefaultModuleViewStyle() 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 {
ThemeBasics
Hover ThemeBasics
}
Module struct {
TextColor string
BackgroundColor string
BorderColor string
Hover ThemeBasics
Active ThemeBasics
}
}
}
func (*Theme) DefaultLabelStyle ¶
func (*Theme) DefaultModuleViewStyle ¶
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.