colors

package
v0.368.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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 Black

func Black(text string) *Colors

func Blue

func Blue(text string) *Colors

func Cyan

func Cyan(text string) *Colors

func Gray

func Gray(text string) *Colors

func Green

func Green(text string) *Colors

func Heading

func Heading(text string) *Colors

func Magenta

func Magenta(text string) *Colors

func Red

func Red(text string) *Colors

func White

func White(text string) *Colors

func Yellow

func Yellow(text string) *Colors

func (*Colors) Background

func (c *Colors) Background(color lipgloss.AdaptiveColor) *Colors

func (*Colors) Bold

func (c *Colors) Bold() *Colors

func (*Colors) Highlight

func (c *Colors) Highlight() *Colors

func (*Colors) String

func (c *Colors) String() string

func (*Colors) UpdateText

func (c *Colors) UpdateText(text string) *Colors

Jump to

Keyboard shortcuts

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