Documentation
¶
Overview ¶
Package theme loads cliamp-compatible color themes.
Index ¶
Constants ¶
View Source
const ( // DefaultName is the display name of the terminal-palette theme. DefaultName = "Default - Terminal colors" // DefaultConfigName is the canonical configuration value for the terminal-palette theme. DefaultConfigName = "default" // LegacyDefaultConfigName is the former configuration value accepted as an alias for default. LegacyDefaultConfigName = "default-dark" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
Registry is a sorted collection of selectable hex themes and non-fatal load warnings. The synthetic terminal default is resolved by Resolve and is not included in Themes.
type Theme ¶
type Theme struct {
Name string
Accent string
BrightFG string
FG string
Green string
Yellow string
Red string
}
Theme is a named cliamp-compatible six-color palette.
Click to show internal directories.
Click to hide internal directories.