color

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Magenta   = New(5)
	Red       = New(9)
	LightBlue = New(12)
	Blank     = New(30)
	Pink      = New(13)
	Green     = New(10)
	Cyan      = New(14)
	Aqua      = New(86)
	HotPink   = New(201)
	Orange    = New(202)
	RedPink   = New(205)

	FullBlue = NewHex("#0000FF")
	DarkGray = NewHex("#3C3C3C")
	Gray     = NewHex("#808080")
	White    = NewHex("#ffffff")

	Special   = NewAdaptive("#43BF6D", "#73F59F")
	Highlight = NewAdaptive("#874BFD", "#7D56F4")
	Subtle    = NewAdaptive("#D9DCCF", "#383838")
)

Functions

func New

func New(i int) lipgloss.Color

func NewAdaptive

func NewAdaptive(light, dark string) lipgloss.AdaptiveColor

func NewHex

func NewHex(hex string) lipgloss.Color

func NoColor

func NoColor() lipgloss.NoColor

Types

This section is empty.

Jump to

Keyboard shortcuts

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