style

package
v0.0.0-...-2fea383 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LGDefBorder = lipgloss.HiddenBorder()
	LGTable     = table.New().Border(LGDefBorder)

	Cmd = lipgloss.NewStyle().Foreground(catBase).Background(catBlue).
		Bold(true).PaddingLeft(1).PaddingRight(1)

	TitleKey = lipgloss.NewStyle().
				Foreground(catBlue).Bold(true)

	Title = lipgloss.NewStyle().
			Foreground(catLavander).Bold(true).
			PaddingLeft(1)

	ItemKey = lipgloss.NewStyle().
			Foreground(catBlue).
			PaddingLeft(1).Bold(true)

	ItemKeyP3 = lipgloss.NewStyle().
				Foreground(catBlue).
				PaddingLeft(3).Bold(true)

	HeadKeyP3 = lipgloss.NewStyle().
				Foreground(catFlamingo).
				PaddingLeft(3)

	HeadValue = lipgloss.NewStyle().
				Foreground(catSapphire)

	CertKeyP3 = lipgloss.NewStyle().
				Foreground(catLavander).
				PaddingLeft(3)

	CertKeyP4 = lipgloss.NewStyle().
				Foreground(catLavander).
				PaddingLeft(4)

	CertKeyP5 = lipgloss.NewStyle().
				Foreground(catLavander).
				PaddingLeft(5)

	CertValue = lipgloss.NewStyle().
				Foreground(catPeach)

	CertValueNotice = lipgloss.NewStyle().
					Foreground(catMauve)

	Via = lipgloss.NewStyle().
		Foreground(catMauve).Italic(true).
		PaddingLeft(1)

	URL = lipgloss.NewStyle().
		Foreground(catFlamingo).Bold(true)

	Status = lipgloss.NewStyle().
			Foreground(catSapphire)

	Status2xx = lipgloss.NewStyle().
				Foreground(catGreen)

	Status3xx = lipgloss.NewStyle().
				Foreground(catMauve)

	Status4xx = lipgloss.NewStyle().
				Foreground(catYellow)

	Status5xx = lipgloss.NewStyle().
				Foreground(catRed)

	StatusError = lipgloss.NewStyle().
				Foreground(catRed)

	Error = lipgloss.NewStyle().
			Foreground(catPink).Italic(true)

	Headers = lipgloss.NewStyle().Italic(true).PaddingLeft(4).
			Foreground(catTeal)

	BoolTrue  = lipgloss.NewStyle().Foreground(catTeal)
	BoolFalse = lipgloss.NewStyle().Foreground(catYellow)
	Warn      = lipgloss.NewStyle().Foreground(catYellow)
	Crit      = lipgloss.NewStyle().Foreground(lgRed)
)

Functions

func BoolStyle

func BoolStyle(b bool) string

func CodeSyntaxHighlight

func CodeSyntaxHighlight(lang, code string) string

func LgSprintf

func LgSprintf(style lipgloss.Style, pattern string, a ...any) string

func PrintKeyInfoStyle

func PrintKeyInfoStyle(w io.Writer, privKey crypto.PrivateKey)

func StatusCodeParse

func StatusCodeParse(sc int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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