theme

package
v1.11.3 Latest Latest
Warning

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

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

Documentation

Overview

Package theme provides theme definitions and management for the TUI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableThemes

func AvailableThemes() []string

AvailableThemes returns a list of available theme names.

Types

type Theme

type Theme struct {
	Background lipgloss.Color
	Accent     lipgloss.Color
	AccentDim  lipgloss.Color
	Border     lipgloss.Color
	BorderDim  lipgloss.Color
	MutedFg    lipgloss.Color
	TextFg     lipgloss.Color
	SuccessFg  lipgloss.Color
	WarnFg     lipgloss.Color
	ErrorFg    lipgloss.Color
	Cyan       lipgloss.Color
	Pink       lipgloss.Color
	Yellow     lipgloss.Color
}

Theme defines all colors used in the application UI.

func CatppuccinMocha

func CatppuccinMocha() *Theme

CatppuccinMocha returns the Catppuccin Mocha theme.

func CleanLight

func CleanLight() *Theme

CleanLight returns a theme optimized for light terminal backgrounds.

func Dracula

func Dracula() *Theme

Dracula returns the Dracula theme (dark background, vibrant colors).

func GetTheme

func GetTheme(name string) *Theme

GetTheme returns a theme by name, or Dracula if not found.

func GruvboxDark

func GruvboxDark() *Theme

GruvboxDark returns the Gruvbox dark theme.

func GruvboxLight

func GruvboxLight() *Theme

GruvboxLight returns the Gruvbox light theme.

func Monokai

func Monokai() *Theme

Monokai returns the Monokai theme.

func Narna

func Narna() *Theme

Narna returns a balanced dark theme with blue accents.

func Nord

func Nord() *Theme

Nord returns the Nord theme.

func SolarizedDark

func SolarizedDark() *Theme

SolarizedDark returns the Solarized dark theme.

func SolarizedLight

func SolarizedLight() *Theme

SolarizedLight returns the Solarized light theme.

Jump to

Keyboard shortcuts

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