Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box interface {
ApplyDecorator(WidgetDecorator) Box
}
type CSS ¶
type CSS map[string]WidgetDecorator
type Stylable ¶
type Stylable struct {
// contains filtered or unexported fields
}
func (Stylable) ApplyDecorator ¶
func (sty Stylable) ApplyDecorator(ws WidgetDecorator) Box
Apply widget style: wrap any existing styler into a new styler
type Styles ¶
type Styles struct { Fg color.NRGBA Bg color.NRGBA BorderColor color.NRGBA Border int Rounded bool Shaded bool }
func StylesFromTheme ¶
Click to show internal directories.
Click to hide internal directories.