style

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 5 Imported by: 0

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)

Jump to

Keyboard shortcuts

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