styles

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Base     = color.RGBA{48, 52, 70, 255}
	Surface0 = color.RGBA{65, 69, 89, 255}
	Surface1 = color.RGBA{81, 87, 109, 255}
	Surface2 = color.RGBA{98, 104, 128, 255}
	Overlay0 = color.RGBA{115, 121, 148, 255}
	Overlay1 = color.RGBA{131, 139, 167, 255}
	Text     = color.RGBA{198, 208, 245, 255}
	Subtext1 = color.RGBA{181, 191, 226, 255}
	Blue     = color.RGBA{140, 170, 238, 255}
	Green    = color.RGBA{166, 209, 137, 255}
	Yellow   = color.RGBA{229, 200, 144, 255}
	Red      = color.RGBA{231, 130, 132, 255}
	Teal     = color.RGBA{129, 200, 190, 255}
	Mauve    = color.RGBA{202, 158, 230, 255}
	Peach    = color.RGBA{239, 159, 118, 255}
)

Functions

func Code

func Code() lipgloss.Style

func Error

func Error() lipgloss.Style

func ErrorBadge

func ErrorBadge() lipgloss.Style

func FormatBytes added in v0.0.39

func FormatBytes(bytes uint64) string

func FormatPercent added in v0.0.39

func FormatPercent(used, total uint64) string

func FrappeColorScheme added in v0.0.34

func FrappeColorScheme(lipgloss.LightDarkFunc) fang.ColorScheme
func Header() lipgloss.Style

func Highlighted

func Highlighted() lipgloss.Style

func Info

func Info() lipgloss.Style

func Key

func Key() lipgloss.Style

func List

func List(items ...any) *list.List

func ListEnumeratorStyle

func ListEnumeratorStyle() lipgloss.Style

func ListItemStyle

func ListItemStyle() lipgloss.Style

func ListStyle

func ListStyle() lipgloss.Style

func Muted

func Muted() lipgloss.Style

func NumberedList

func NumberedList(items ...any) *list.List

func OutputRaw added in v0.0.36

func OutputRaw(cmd *cobra.Command, value string) bool

func PrintError added in v0.0.36

func PrintError(writer io.Writer, message string)

func PrintErrorWithOptions added in v0.0.38

func PrintErrorWithOptions(writer io.Writer, message string, options [][]string)

func PrintHints added in v0.0.38

func PrintHints(writer io.Writer, hints [][]string)

func PrintKeyCode added in v0.0.36

func PrintKeyCode(writer io.Writer, key, value string)

func PrintKeyValue added in v0.0.36

func PrintKeyValue(writer io.Writer, key, value string)

func PrintSuccess added in v0.0.36

func PrintSuccess(writer io.Writer, message string)

func PrintSuccessWithDetails added in v0.0.38

func PrintSuccessWithDetails(writer io.Writer, message string, details [][]string)

func PrintSuccessWithDetailsCode added in v0.0.38

func PrintSuccessWithDetailsCode(writer io.Writer, message string, details [][]string)

func PrintTitle added in v0.0.36

func PrintTitle(writer io.Writer, title string)

func PrintWarning added in v0.0.36

func PrintWarning(writer io.Writer, message string)

func SubHeader

func SubHeader() lipgloss.Style

func Success

func Success() lipgloss.Style

func Table

func Table(headers ...string) *table.Table

func TableBorderStyle

func TableBorderStyle() lipgloss.Style

func TableCellStyle

func TableCellStyle() lipgloss.Style

func TableHeaderStyle

func TableHeaderStyle() lipgloss.Style

func TableKeyCellStyle

func TableKeyCellStyle() lipgloss.Style

func TableRowTitleStyle

func TableRowTitleStyle() lipgloss.Style

func Title added in v0.0.34

func Title() lipgloss.Style

func TitleWithCount added in v0.0.34

func TitleWithCount(title string, count int) string

func Value

func Value() lipgloss.Style

func Warning

func Warning() lipgloss.Style

Types

This section is empty.

Jump to

Keyboard shortcuts

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