Documentation ¶ Index ¶ func Valid(name string) bool type Theme func All() []Theme func Get(name string) (Theme, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Valid ¶ func Valid(name string) bool Valid reports whether name is a known theme. Types ¶ type Theme ¶ type Theme struct { Name string Description string } Theme defines a named visual style for the digest HTML output. The actual colors live in the templates' html[data-theme="<name>"] CSS blocks; this registry exists for CLI validation and listing. func All ¶ func All() []Theme All returns all available themes in display order. func Get ¶ func Get(name string) (Theme, bool) Get returns the Theme for the given name and whether it was found. Source Files ¶ View all Source files themes.go Click to show internal directories. Click to hide internal directories.