Documentation
¶
Index ¶
- Variables
- func Code() lipgloss.Style
- func Error() lipgloss.Style
- func ErrorBadge() lipgloss.Style
- func FormatBytes(bytes uint64) string
- func FormatPercent(used, total uint64) string
- func FrappeColorScheme(lipgloss.LightDarkFunc) fang.ColorScheme
- func Header() lipgloss.Style
- func Highlighted() lipgloss.Style
- func Info() lipgloss.Style
- func Key() lipgloss.Style
- func List(items ...any) *list.List
- func ListEnumeratorStyle() lipgloss.Style
- func ListItemStyle() lipgloss.Style
- func ListStyle() lipgloss.Style
- func Muted() lipgloss.Style
- func NumberedList(items ...any) *list.List
- func OutputRaw(cmd *cobra.Command, value string) bool
- func PrintError(writer io.Writer, message string)
- func PrintErrorWithOptions(writer io.Writer, message string, options [][]string)
- func PrintHints(writer io.Writer, hints [][]string)
- func PrintKeyCode(writer io.Writer, key, value string)
- func PrintKeyValue(writer io.Writer, key, value string)
- func PrintSuccess(writer io.Writer, message string)
- func PrintSuccessWithDetails(writer io.Writer, message string, details [][]string)
- func PrintSuccessWithDetailsCode(writer io.Writer, message string, details [][]string)
- func PrintTitle(writer io.Writer, title string)
- func PrintWarning(writer io.Writer, message string)
- func SubHeader() lipgloss.Style
- func Success() lipgloss.Style
- func Table(headers ...string) *table.Table
- func TableBorderStyle() lipgloss.Style
- func TableCellStyle() lipgloss.Style
- func TableHeaderStyle() lipgloss.Style
- func TableKeyCellStyle() lipgloss.Style
- func TableRowTitleStyle() lipgloss.Style
- func Title() lipgloss.Style
- func TitleWithCount(title string, count int) string
- func Value() lipgloss.Style
- func Warning() lipgloss.Style
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 ErrorBadge ¶
func FormatBytes ¶ added in v0.0.39
func FormatPercent ¶ added in v0.0.39
func FrappeColorScheme ¶ added in v0.0.34
func FrappeColorScheme(lipgloss.LightDarkFunc) fang.ColorScheme
func Highlighted ¶
func ListEnumeratorStyle ¶
func ListItemStyle ¶
func NumberedList ¶
func PrintError ¶ added in v0.0.36
func PrintErrorWithOptions ¶ added in v0.0.38
func PrintHints ¶ added in v0.0.38
func PrintKeyCode ¶ added in v0.0.36
func PrintKeyValue ¶ added in v0.0.36
func PrintSuccess ¶ added in v0.0.36
func PrintSuccessWithDetails ¶ added in v0.0.38
func PrintSuccessWithDetailsCode ¶ added in v0.0.38
func PrintTitle ¶ added in v0.0.36
func PrintWarning ¶ added in v0.0.36
func TableBorderStyle ¶
func TableCellStyle ¶
func TableHeaderStyle ¶
func TableKeyCellStyle ¶
func TableRowTitleStyle ¶
func TitleWithCount ¶ added in v0.0.34
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.