2
0
mirror of https://github.com/edouardparis/lntop synced 2024-11-13 13:10:34 +00:00
lntop/ui/color/color.go

16 lines
477 B
Go
Raw Normal View History

2019-03-20 09:04:17 +00:00
package color
import "github.com/fatih/color"
type Color color.Color
var (
Green = color.New(color.FgGreen).SprintFunc()
GreenBg = color.New(color.BgGreen, color.FgBlack).SprintFunc()
Red = color.New(color.FgRed).SprintFunc()
2019-03-22 13:42:28 +00:00
RedBg = color.New(color.BgRed, color.FgBlack).SprintFunc()
2019-03-20 09:04:17 +00:00
Cyan = color.New(color.FgCyan).SprintFunc()
CyanBg = color.New(color.BgCyan, color.FgBlack).SprintFunc()
2019-03-22 09:14:58 +00:00
WhiteBg = color.New(color.BgWhite, color.FgBlack).SprintFunc()
2019-03-20 09:04:17 +00:00
)