Documentation
¶
Overview ¶
Package theme holds the built-in color palettes. It has no rendering dependency, so the packages that the CLI and Hive Desktop share can use it.
Index ¶
Constants ¶
View Source
const Default = "tokyo-night"
Default is the name of the default theme.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Palette ¶
type Palette struct {
Primary color.Color
Secondary color.Color
Foreground color.Color
Muted color.Color
Background color.Color
Surface color.Color
// SurfaceLow is a subtle lift above Background (below Surface), used
// for low-emphasis fills like selected-row highlights.
SurfaceLow color.Color
Success color.Color
Warning color.Color
Error color.Color
}
Palette defines a minimal semantic theme palette.
Click to show internal directories.
Click to hide internal directories.