color

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GreenFmt = ""
	GrayFmt  = ""

	FooterSelectedItemFmt = ""
	FooterItemFmt         = ""
	FooterAwsFmt          = ""
	FooterE1sFmt          = ""

	HeaderTitleFmt = ""
	HeaderItemFmt  = ""
	HeaderKeyFmt   = ""

	HelpTitleFmt       = ""
	HelpKeyFmt         = ""
	HelpDescriptionFmt = ""

	NoticeInfoFmt  = ""
	NoticeWarnFmt  = ""
	NoticeErrorFmt = ""

	TableTitleFmt          = ""
	TableSecondaryTitleFmt = ""
	TableClusterTasksFmt   = ""
)

Functions

func Color

func Color(c string) tcell.Color

Types

type Colors added in v1.0.32

type Colors struct {
	BgColor     string `toml:"background"`
	FgColor     string `toml:"foreground"`
	BorderColor string `toml:"border"` // Assuming there's a border color in the TOML
	Black       string `toml:"black"`
	Yellow      string `toml:"yellow"`
	Green       string `toml:"green"`
	Red         string `toml:"red"`
	Blue        string `toml:"blue"`
	Magenta     string `toml:"magenta"`
	Cyan        string `toml:"cyan"`
	Gray        string `toml:"white"` // Assuming dim white is considered gray
}

func InitStyles

func InitStyles(theme string) Colors

Init basic styles

Jump to

Keyboard shortcuts

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