Documentation
¶
Index ¶
- Variables
- type Theme
- func (t *Theme) Dimmed(pct int) *Theme
- func (t *Theme) Get(scope string) tui.Style
- func (t *Theme) Is16Color() bool
- func (t *Theme) Name() string
- func (t *Theme) RainbowLength() int
- func (t *Theme) Scopes() []string
- func (t *Theme) TryGet(scope string) (tui.Style, bool)
- func (t *Theme) TryGetExact(scope string) (tui.Style, bool)
- func (t *Theme) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingSelection = errors.New("missing required ui.selection scope") ErrInvalidTheme = errors.New("invalid theme") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.