styles

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Inspirited by Wryan and Jellybeans https://gogh-co.github.io/Gogh/
	PrimaryColor   = lipgloss.AdaptiveColor{Dark: "#477AB3", Light: "#31658C"}
	SecondaryColor = lipgloss.AdaptiveColor{Dark: "#7E62B3", Light: "#5E468C"}
	TertiaryColor  = lipgloss.AdaptiveColor{Dark: "#9E9ECB", Light: "#7C7C99"}

	WarningColor = lipgloss.AdaptiveColor{Dark: "#FFDCA0", Light: "#FFBA7B"}
	InfoColor    = lipgloss.AdaptiveColor{Dark: "#53A6A6", Light: "#287373"}
	ErrorColor   = lipgloss.AdaptiveColor{Dark: "#BF4D80", Light: "#8C4665"}

	White = lipgloss.AdaptiveColor{Dark: "#C0C0C0", Light: "#899CA1"}
	Gray  = lipgloss.AdaptiveColor{Dark: "#3D3D3D", Light: "#333333"}
	Black = lipgloss.AdaptiveColor{Dark: "#2b2a2a", Light: "#000000"}
)
View Source
var MarkdownStyleJSON string

Functions

func CollectionStyle

func CollectionStyle() lipgloss.Style

func EntityViewStyle

func EntityViewStyle() lipgloss.Style

func ListItemStyles

func ListItemStyles() list.DefaultItemStyles

func ListStyles

func ListStyles() list.Styles

func LoggerStyles

func LoggerStyles() *log.Styles

func RenderBold

func RenderBold(text string) string

func RenderBrand

func RenderBrand(text string) string

func RenderContext

func RenderContext(text string, padded bool) string

func RenderError

func RenderError(text string) string

func RenderHelp

func RenderHelp(text string) string

func RenderInfo

func RenderInfo(text string) string

func RenderInputForm

func RenderInputForm(text string) string

func RenderSuccess

func RenderSuccess(text string) string

func RenderUnknown

func RenderUnknown(text string) string

func RenderWarning

func RenderWarning(text string) string

func SpinnerStyle

func SpinnerStyle() lipgloss.Style

func TermViewStyle

func TermViewStyle() 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