style

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QuestionIcon    = lipgloss.NewStyle().Foreground(lipgloss.Color("251")).SetString("? ").Bold(true)
	CrossIcon       = lipgloss.NewStyle().Foreground(lipgloss.Color("9")).SetString("✗ ").Bold(true)
	TickIcon        = lipgloss.NewStyle().Foreground(lipgloss.Color("10")).SetString("✓ ").Bold(true)
	TodoIcon        = lipgloss.NewStyle().SetString("• ").Bold(true)
	DoubleRightIcon = lipgloss.NewStyle().Foreground(lipgloss.Color("251")).SetString("» ").Bold(true)
	ChevronIcon     = lipgloss.NewStyle().Foreground(lipgloss.Color("251")).SetString("› ").Bold(true)
)
View Source
var BoldText = lipgloss.NewStyle().Bold(true)
View Source
var (
	Container = lipgloss.NewStyle().Border(lipgloss.NormalBorder()).Padding(1,
		2).BorderForeground(lipgloss.Color("#874BFD")) //nolint:gomnd

)

Functions

func CLIHeader

func CLIHeader(title string, description string) string

func ContextPrint added in v1.3.1

func ContextPrint(title, titleColor, subject, object string)

func ForegroundPrint added in v1.3.1

func ForegroundPrint(text string, color string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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