Documentation ¶ Index ¶ func DefaultFile() string type Catalog func Load(filePath string) (Catalog, error) func (c Catalog) All() []Theme func (c Catalog) Names() []string func (c Catalog) Resolve(requested string) (Theme, error) type Color func ParseColor(value string) (Color, error) type Theme Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DefaultFile ¶ func DefaultFile() string Types ¶ type Catalog ¶ type Catalog struct { // contains filtered or unexported fields } func Load ¶ func Load(filePath string) (Catalog, error) func (Catalog) All ¶ func (c Catalog) All() []Theme func (Catalog) Names ¶ func (c Catalog) Names() []string func (Catalog) Resolve ¶ func (c Catalog) Resolve(requested string) (Theme, error) type Color ¶ type Color string func ParseColor ¶ func ParseColor(value string) (Color, error) type Theme ¶ type Theme struct { Name string Primary Color Background Color Selected Color SelectedText Color Border Color HeaderBackground Color Separator Color ListNumber Color ListText Color PostUsername Color ListMeta Color Accent Color } Source Files ¶ View all Source files theme.go Click to show internal directories. Click to hide internal directories.