Documentation ¶
Index ¶
- Variables
- type Colors
- func Black(text string) *Colors
- func Blue(text string) *Colors
- func Cyan(text string) *Colors
- func Gray(text string) *Colors
- func Green(text string) *Colors
- func Heading(text string) *Colors
- func Magenta(text string) *Colors
- func Red(text string) *Colors
- func White(text string) *Colors
- func Yellow(text string) *Colors
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StatusGreen = lipgloss.AdaptiveColor{Light: "#086c08", Dark: "#009900"} StatusGreenBright = lipgloss.AdaptiveColor{Light: "#086c08", Dark: "#00FF00"} StatusYellow = lipgloss.AdaptiveColor{Light: "#999900", Dark: "#999900"} StatusYellowBright = lipgloss.AdaptiveColor{Light: "#B3B300", Dark: "#FFFF00"} StatusRed = lipgloss.AdaptiveColor{Light: "#990000", Dark: "#CC0000"} StatusRedBright = lipgloss.AdaptiveColor{Light: "#FF0000", Dark: "#FF0000"} StatusBlue = lipgloss.AdaptiveColor{Light: "#000099", Dark: "#000099"} StatusBlueBright = lipgloss.AdaptiveColor{Light: "#0000FF", Dark: "#6699ff"} HighlightBlack = lipgloss.AdaptiveColor{Light: "#000000", Dark: "#FFFFFF"} HighlightBlackBright = lipgloss.AdaptiveColor{Light: "#666666", Dark: "#666666"} HighlightWhite = lipgloss.AdaptiveColor{Light: "#000000", Dark: "#999999"} HighlightWhiteBright = lipgloss.AdaptiveColor{Light: "#000000", Dark: "#FFFFFF"} HighlightMagenta = lipgloss.AdaptiveColor{Light: "#990099", Dark: "#FF00FF"} HighlightMagentaBright = lipgloss.AdaptiveColor{Light: "#990099", Dark: "#FF00FF"} HighlightCyan = lipgloss.AdaptiveColor{Light: "#009999", Dark: "#00FFFF"} HighlightCyanBright = lipgloss.AdaptiveColor{Light: "#009999", Dark: "#00FFFF"} )
Functions ¶
This section is empty.
Types ¶
type Colors ¶
type Colors struct { BaseColor lipgloss.AdaptiveColor HighlightColor lipgloss.AdaptiveColor // contains filtered or unexported fields }
func (*Colors) Background ¶
func (c *Colors) Background(color lipgloss.AdaptiveColor) *Colors
func (*Colors) UpdateText ¶
Click to show internal directories.
Click to hide internal directories.