colors

package
v0.390.0-next.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: AGPL-3.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"}
	StatusOrange           = lipgloss.AdaptiveColor{Light: "#CC7700", Dark: "#FFAA00"}
	StatusOrangeBright     = lipgloss.AdaptiveColor{Light: "#FFAA00", Dark: "#FFAA00"}
	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 Orange added in v0.386.1

func Orange(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