theme

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Theme

type Theme struct {
	ID       string
	Registry *tint.Registry
}

func New

func New(t Tint) Theme

func (*Theme) List

func (t *Theme) List() []tint.Tint

func (*Theme) ListID

func (t *Theme) ListID() []string

func (*Theme) Next

func (t *Theme) Next()

func (*Theme) Set

func (t *Theme) Set(id string) bool

type Tint added in v0.11.0

type Tint struct {
	Default  tint.Tint
	Defaults []tint.Tint
}

func Default added in v0.11.0

func Default(clr config.Colour) Tint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL