color

package
v0.0.0-...-4bee157 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Black         = renderers{fg(ansi16.black), bg(ansi16.black)}
	Red           = renderers{fg(ansi16.red), bg(ansi16.red)}
	Green         = renderers{fg(ansi16.green), bg(ansi16.green)}
	Yellow        = renderers{fg(ansi16.yellow), bg(ansi16.yellow)}
	Blue          = renderers{fg(ansi16.blue), bg(ansi16.blue)}
	Magenta       = renderers{fg(ansi16.magenta), bg(ansi16.magenta)}
	Cyan          = renderers{fg(ansi16.cyan), bg(ansi16.cyan)}
	White         = renderers{fg(ansi16.white), bg(ansi16.white)}
	BrightBlack   = renderers{fg(ansi16.brightblack), bg(ansi16.brightblack)}
	BrightRed     = renderers{fg(ansi16.red), bg(ansi16.brightred)}
	BrightGreen   = renderers{fg(ansi16.green), bg(ansi16.brightgreen)}
	BrightYellow  = renderers{fg(ansi16.yellow), bg(ansi16.brightyellow)}
	BrightBlue    = renderers{fg(ansi16.blue), bg(ansi16.brightblue)}
	BrightMagenta = renderers{fg(ansi16.magenta), bg(ansi16.brightmagenta)}
	BrightCyan    = renderers{fg(ansi16.cyan), bg(ansi16.brightcyan)}
	BrightWhite   = renderers{fg(ansi16.white), bg(ansi16.brightwhite)}
	MiddleGray    = renderers{fg(truecolor.middlegray), bg(truecolor.middlegray)}
)

Functions

func ByStatus

func ByStatus(s string, code git.StatusCode, staged bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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