Documentation
¶
Overview ¶
Package styles provides background-aware terminal styles. Construct a bundle with New for the appropriate light or dark variant.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Styles ¶ added in v1.6.0
type Styles struct {
// Palette. Primary and Danger are static; the rest adapt to background.
Primary, Danger,
Secondary, Success, Warning,
Muted, Text, Border color.Color
// Composed styles.
TextStyle lipgloss.Style
MutedStyle lipgloss.Style
SuccessStyle lipgloss.Style
WarningStyle lipgloss.Style
DangerStyle lipgloss.Style
SelectedStyle lipgloss.Style
CursorStyle lipgloss.Style
SizeStyle lipgloss.Style
HelpStyle lipgloss.Style
HeaderStyle lipgloss.Style
DividerStyle lipgloss.Style
ButtonStyle lipgloss.Style
ButtonActiveStyle lipgloss.Style
ButtonDangerStyle lipgloss.Style
ButtonDangerActiveStyle lipgloss.Style
SectionActiveNameStyle lipgloss.Style
}
Click to show internal directories.
Click to hide internal directories.