theme

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetThemeNames

func GetThemeNames() []string

GetThemeNames returns all available theme names

func SetTheme

func SetTheme(name string) bool

SetTheme changes the current theme

Types

type Theme

type Theme struct {
	Name          string
	Primary       lipgloss.Color
	Secondary     lipgloss.Color
	Accent        lipgloss.Color
	Text          lipgloss.Color
	DimText       lipgloss.Color
	Background    lipgloss.Color
	Border        lipgloss.Color
	RowHighlight  lipgloss.Color
	ColHighlight  lipgloss.Color
	CellHighlight lipgloss.Color
	SearchMatch   lipgloss.Color
	Success       lipgloss.Color
	Error         lipgloss.Color
	Warning       lipgloss.Color
}

Theme represents a complete color scheme

func GetCurrentTheme

func GetCurrentTheme() Theme

GetCurrentTheme returns the current active theme

Jump to

Keyboard shortcuts

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