style

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TextTileColor = lipgloss.Color("#2C040A")
	BgColor       = lipgloss.Color("#EDAFB8")
	FgColor       = lipgloss.Color("#EDAFB8")
	ErrorColor    = lipgloss.Color("#D50000")
	WhiteColor    = lipgloss.Color("#FFFFFF")
	SuccessColor  = lipgloss.Color("#008000")
	TagsColor     = lipgloss.Color("#11011a")
)
View Source
var (
	TitleStyle        = lipgloss.NewStyle().Background(BgColor).Foreground(TextTileColor).Bold(true).Padding(0, 1, 0)
	ErrorStyle        = lipgloss.NewStyle().Background(ErrorColor).Foreground(WhiteColor).Bold(true).Padding(0, 1, 0)
	LogStyle          = lipgloss.NewStyle().Foreground(FgColor)
	FocusedStyle      = lipgloss.NewStyle().Foreground(BgColor).Bold(true)
	SelectedItemStyle = lipgloss.NewStyle().PaddingLeft(1).Foreground(FgColor).Bold(true)
	CheckStyle        = lipgloss.NewStyle().Foreground(SuccessColor).Bold(true).Padding(0, 1, 0)
	CrossMarkStyle    = lipgloss.NewStyle().Foreground(ErrorColor).Bold(true).Padding(0, 1, 0)
	TagsStyle         = lipgloss.NewStyle().Foreground(TagsColor)
	DescriptionStyle  = lipgloss.NewStyle().Foreground(WhiteColor)
)

Functions

func CheckMarkPrint

func CheckMarkPrint(text string)

func CrossMarkPrint

func CrossMarkPrint(text string)

func DebugPrint

func DebugPrint(header, text string)

func ErrorPrint

func ErrorPrint(text string)

func LogPrint

func LogPrint(text string)

func TitlePrint

func TitlePrint(text string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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