theme

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureColorProfile

func ConfigureColorProfile()

ConfigureColorProfile detects and sets the terminal's color profile.

func DetectCmd

func DetectCmd() tea.Cmd

DetectCmd returns a command that detects the terminal's color profile.

Types

type DetectedMsg

type DetectedMsg struct {
	Dark bool
}

DetectedMsg is sent once the terminal color profile has been detected.

type Styles

type Styles struct {
	Doc             lipgloss.Style
	AppTitle        lipgloss.Style
	AppTitleCompact lipgloss.Style
	AppVersion      lipgloss.Style
	AppPath         lipgloss.Style
	StatusBar       lipgloss.Style
	StatusBarDim    lipgloss.Style
	StatusBarSep    lipgloss.Style
	Header          lipgloss.Style
	HeaderDim       lipgloss.Style
	Panel           lipgloss.Style
	PanelTitle      lipgloss.Style
	ItemTitle       lipgloss.Style
	ItemDesc        lipgloss.Style
	ItemMeta        lipgloss.Style
	ItemBinding     lipgloss.Style
	ItemSelected    lipgloss.Style
	Footer          lipgloss.Style
	Hint            lipgloss.Style
	HintBold        lipgloss.Style
	StatusReady     lipgloss.Style
	StatusWarn      lipgloss.Style
	StatusError     lipgloss.Style
	Modal           lipgloss.Style
	ModalDanger     lipgloss.Style
	EmptyPreview    lipgloss.Style
	TabBar          lipgloss.Style
	TabActive       lipgloss.Style
	TabInactive     lipgloss.Style
	TabSep          lipgloss.Style
	TabUnderline    lipgloss.Style
	HeaderBanner    lipgloss.Style
	PanelFocused    lipgloss.Style
	PanelBlur       lipgloss.Style
	PanelTitleFocus lipgloss.Style
	PanelTitleBlur  lipgloss.Style
	FooterFlash     lipgloss.Style
	FooterContext   lipgloss.Style
	HelpKey         lipgloss.Style
	HelpDesc        lipgloss.Style
}

func NewStyles

func NewStyles(dark bool) Styles

Jump to

Keyboard shortcuts

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