colors

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset = "[-:-:-]"
)

Variables

View Source
var Background = tcell.GetColor("#000000")

Functions

func Aqua

func Aqua(format string, args ...any) string

func Black

func Black(format string, args ...any) string

Text colors

func Blue

func Blue(format string, args ...any) string

func Bold

func Bold(format string, args ...any) string

Text extensions

func Fuchsia

func Fuchsia(format string, args ...any) string

func Gray

func Gray(format string, args ...any) string

func Green

func Green(format string, args ...any) string

func Lime

func Lime(format string, args ...any) string

func Maroon

func Maroon(format string, args ...any) string
func Navy(format string, args ...any) string

func Olive

func Olive(format string, args ...any) string

func Purple

func Purple(format string, args ...any) string

func Red

func Red(format string, args ...any) string

func Silver

func Silver(format string, args ...any) string

func Teal

func Teal(format string, args ...any) string

func Underline

func Underline(format string, args ...any) string

func Yellow

func Yellow(format string, args ...any) string

Types

type ColorFunc

type ColorFunc func(format string, args ...any) string

Jump to

Keyboard shortcuts

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