theme

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTheme = Theme{
		PromptStyle:                  style.New().Fg(color.White).Bold(),
		MultiSelectedHintSymbolStyle: style.New().Fg(color.Special),
		ChoiceTextStyle:              style.New().Fg(color.Highlight).Bold(),
		CursorSymbolStyle:            style.New(),
		UnHintSymbolStyle:            style.New().Fg(color.Red),
		SpinnerShapeStyle:            style.New().Fg(color.RedPink),
		PlaceholderStyle:             style.New().Fg(lipgloss.Color("240")),
		FocusSymbol:                  "? ",
		UnFocusSymbol:                "√ ",
		FocusInterval:                " » ",
		UnFocusInterval:              " … ",
		FocusSymbolStyle:             style.New().Fg(color.Cyan),
		UnFocusSymbolStyle:           style.New().Fg(color.Green),
		FocusIntervalStyle:           style.New().Fg(color.Gray),
		UnFocusIntervalStyle:         style.New().Fg(color.Gray).Bold(),
	}
)

Functions

This section is empty.

Types

type Theme

type Theme struct {
	PromptStyle                  *style.Style
	MultiSelectedHintSymbolStyle *style.Style
	ChoiceTextStyle              *style.Style
	CursorSymbolStyle            *style.Style
	UnHintSymbolStyle            *style.Style
	SpinnerShapeStyle            *style.Style
	PlaceholderStyle             *style.Style

	FocusSymbol     string
	UnFocusSymbol   string
	FocusInterval   string
	UnFocusInterval string

	FocusSymbolStyle     *style.Style
	UnFocusSymbolStyle   *style.Style
	FocusIntervalStyle   *style.Style
	UnFocusIntervalStyle *style.Style
}

Jump to

Keyboard shortcuts

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