theme

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Themes = map[string]Theme{
	"dark":  DarkTheme(),
	"light": LightTheme(),
}

Themes is the registry of built-in themes.

Functions

This section is empty.

Types

type Theme

type Theme struct {
	Bg string
	Fg string

	// Diff colors
	AddedFg   string
	AddedBg   string
	RemovedFg string
	RemovedBg string
	HunkFg    string

	// Line numbers
	LineNumFg        string
	LineNumAddedFg   string
	LineNumRemovedFg string

	// Header bar
	HeaderBg string
	HeaderFg string

	// Hunk
	HunkBg string

	// File list
	SelectedBg  string
	SelectedFg  string
	StagedFg    string
	ModifiedFg  string
	AddedFileFg string
	DeletedFg   string
	RenamedFg   string
	UntrackedFg string

	// Card
	CardBg string

	// Chrome
	BorderFg    string
	StatusBarBg string
	StatusBarFg string
	HelpKeyFg   string
	HelpDescFg  string

	// Accent
	AccentFg string

	// Chroma syntax theme name
	ChromaStyle string
}

Theme defines color values for the UI. All values are hex color strings. This package has no lipgloss dependency — styles.go bridges theme to lipgloss.

func DarkTheme

func DarkTheme() Theme

DarkTheme returns a Catppuccin Mocha-inspired pastel dark theme.

func LightTheme

func LightTheme() Theme

LightTheme returns a Catppuccin Latte-inspired pastel light theme.

Jump to

Keyboard shortcuts

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