Documentation
¶
Overview ¶
Package theme provides color palettes for syntax highlighting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Theme ¶
type Theme struct {
Accent color.Color // type-level identifiers (block types, table headers, datetime, anchors)
BoolFalse color.Color // false, no, off
BoolTrue color.Color // true, yes, on
Comment color.Color // comments, null, tags
Foreground color.Color // punctuation, structural tokens
Key color.Color // mapping/attribute keys
Number color.Color // numeric values
Secondary color.Color // secondary keys (nested keys)
String color.Color // string values
}
Theme defines a named color palette for syntax highlighting.
func CatppuccinFrappe ¶
func CatppuccinFrappe() Theme
CatppuccinFrappe returns the Catppuccin Frappé (dark) color theme.
func CatppuccinLatte ¶
func CatppuccinLatte() Theme
CatppuccinLatte returns the Catppuccin Latte (light) color theme.
func CatppuccinMacchiato ¶
func CatppuccinMacchiato() Theme
CatppuccinMacchiato returns the Catppuccin Macchiato (dark) color theme.
func CatppuccinMocha ¶
func CatppuccinMocha() Theme
CatppuccinMocha returns the Catppuccin Mocha (dark) color theme.
Click to show internal directories.
Click to hide internal directories.