theme

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Theme

type Theme struct {
	// Base surfaces
	Base, Mantle, Crust          lipgloss.Color
	Surface0, Surface1, Surface2 lipgloss.Color
	Overlay0, Overlay1, Overlay2 lipgloss.Color

	// Text hierarchy
	Text, Subtext0, Subtext1 lipgloss.Color

	// Accent colors
	Blue, Green, Red, Yellow, Pink lipgloss.Color
	Mauve, Teal, Sky, Sapphire     lipgloss.Color
	Peach, Maroon, Lavender        lipgloss.Color
	Rosewater, Flamingo            lipgloss.Color

	// CSV rainbow (derived from accent colors)
	CSVColors []lipgloss.Color

	// Chroma syntax theme name
	ChromaTheme string
}

Theme holds all semantic colors used across the UI.

func ForConfig

func ForConfig(mode string) Theme

ForConfig resolves a theme mode string to a Theme. Accepts "dark", "light", or "auto" (default).

func LatteTheme

func LatteTheme() Theme

LatteTheme returns the Catppuccin Latte (light) theme.

func MochaTheme

func MochaTheme() Theme

MochaTheme returns the Catppuccin Mocha (dark) theme.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL