style

package
v2.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NormalBg  = lipgloss.AdaptiveColor{Light: "235", Dark: "252"}
	Primary   = lipgloss.Color("#EDAFB8")
	Secondary = lipgloss.Color("#89CFF0")
	Cream     = lipgloss.AdaptiveColor{Light: "#FFFDF5", Dark: "#FFFDF5"}
	Third     = lipgloss.Color("#F780E2")
	Error     = lipgloss.AdaptiveColor{Light: "#FF4672", Dark: "#ED567A"}
	Success   = lipgloss.AdaptiveColor{Light: "#02BA84", Dark: "#02BF87"}
)
View Source
var (
	TitleWithBgStyle  = lipgloss.NewStyle().Background(Primary).Foreground(Cream).Bold(true).Padding(0, 1, 0)
	TitleStyle        = lipgloss.NewStyle().Foreground(Primary).Bold(true)
	ErrorStyle        = lipgloss.NewStyle().Background(Error).Foreground(Cream).Bold(true).Padding(0, 1, 0)
	LogStyle          = lipgloss.NewStyle().Foreground(Cream)
	FocusedStyle      = lipgloss.NewStyle().Foreground(Primary).Bold(true)
	SelectedItemStyle = lipgloss.NewStyle().Foreground(Third).Bold(true)
	CheckStyle        = lipgloss.NewStyle().Foreground(Success).Bold(true).Padding(0, 1, 0)
	CrossMarkStyle    = lipgloss.NewStyle().Foreground(Error).Bold(true).Padding(0, 1, 0)
	TagsStyle         = lipgloss.NewStyle().Foreground(Secondary)
	DescriptionStyle  = lipgloss.NewStyle().Foreground(Cream)
)

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 KumaTheme

func KumaTheme() *huh.Theme

func LogPrint

func LogPrint(text string)

func PrintStyles

func PrintStyles()

func TitlePrint

func TitlePrint(text string, withBG bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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