Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Styles ¶ added in v0.5.0
type Styles struct { Unset lipgloss.Style Alt lipgloss.Style Bold lipgloss.Style Inverse lipgloss.Style BoldUnderline lipgloss.Style InverseUnderline lipgloss.Style AltInverse lipgloss.Style Underline lipgloss.Style Blue lipgloss.Style Lilac lipgloss.Style Green lipgloss.Style RightBorder lipgloss.Style }
func NewStyles ¶ added in v0.5.0
func NewStyles(data TermStyleData) Styles
type TermStyleData ¶ added in v0.5.0
type TermStyleData struct { ForegroundDetected bool Foreground color.Color ForegroundIsDark bool BackgroundDetected bool Background color.Color BackgroundIsDark bool }
func NewTermStyleData ¶ added in v0.5.0
func NewTermStyleData() TermStyleData
func (TermStyleData) IsComplete ¶ added in v0.5.0
func (tsd TermStyleData) IsComplete() bool
func (*TermStyleData) SetBackground ¶ added in v0.5.0
func (tsd *TermStyleData) SetBackground(msg tea.BackgroundColorMsg)
func (*TermStyleData) SetForeground ¶ added in v0.5.0
func (tsd *TermStyleData) SetForeground(msg tea.ForegroundColorMsg)
Click to show internal directories.
Click to hide internal directories.