Versions in this module Expand all Collapse all v1 v1.6.0 Oct 9, 2026 Changes in this version + var ThemePresets = sortedPresets() + func DefaultIndex() int + func DefaultIndexIn(themes []ThemePreset) int + func IDAt(themes []ThemePreset, index int) string + func IndexOf(themes []ThemePreset, name string) int + type Palette struct + Accent string + Alt string + Bg string + Blue string + Cyan string + Fg string + Function string + Green string + Keyword string + Line string + Muted string + Number string + Operator string + Orange string + Property string + Purple string + Red string + Sel string + String string + Type string + Yellow string + type StatusColors struct + Error lipgloss.Color + Info lipgloss.Color + Success lipgloss.Color + Warning lipgloss.Color + type ThemePreset struct + Border lipgloss.Color + CursorBg lipgloss.Color + CursorFg lipgloss.Color + Dark bool + Description string + Family string + FollowTerminal bool + Highlight highlight.Palette + ID string + ModeFull lipgloss.Color + ModeSig lipgloss.Color + ModeSkip lipgloss.Color + Muted lipgloss.Color + Name string + Notice lipgloss.Color + Selected lipgloss.Color + Status StatusColors + Syntax highlight.SyntaxPalette + Title lipgloss.Color + UI UIColors + Variant string + func LoadUserThemes(path string) ([]ThemePreset, error) + func Normalize(p ThemePreset) ThemePreset + type UIColors struct + Accent lipgloss.Color + AccentSoft lipgloss.Color + Background lipgloss.Color + Border lipgloss.Color + BorderActive lipgloss.Color + CursorBg lipgloss.Color + CursorFg lipgloss.Color + ModeFull lipgloss.Color + ModeSig lipgloss.Color + ModeSkip lipgloss.Color + Scrollbar lipgloss.Color + SelectionBg lipgloss.Color + SelectionFg lipgloss.Color + Surface lipgloss.Color + SurfaceAlt lipgloss.Color + Text lipgloss.Color + TextMuted lipgloss.Color + TextSubtle lipgloss.Color + TreeGuide lipgloss.Color