theme

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package theme holds xeet's color palettes. A palette only recolors the interface; layout, spacing, and typography never change with the theme.

Index

Constants

View Source
const DefaultName = "tokyonight"

DefaultName is the palette used when no theme is configured.

Variables

This section is empty.

Functions

func Names

func Names() []string

Names lists the available palettes in stable order.

Types

type Palette

type Palette struct {
	Blue     lipgloss.Color
	Lavender lipgloss.Color
	Pink     lipgloss.Color
	Muted    lipgloss.Color
	Red      lipgloss.Color
	Yellow   lipgloss.Color
	Green    lipgloss.Color
	Bright   lipgloss.Color
	Dim      lipgloss.Color
}

Palette names every color role the interface uses. Accent roles (Blue, Lavender, Pink) decorate; Muted/Dim/Bright grade text prominence; Red, Yellow, and Green carry error, warning, and success meaning.

func Default

func Default() Palette

Default returns the palette xeet ships with.

func Named

func Named(name string) (Palette, bool)

Named looks up a preset palette by name.

Jump to

Keyboard shortcuts

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