blob: 5169bef18675a0b295529d5b009af556eecfb68d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package util
import "github.com/fatih/color"
var (
Black = color.New(color.FgBlack).SprintFunc()
BlackBg = color.New(color.BgBlack, color.FgWhite).SprintFunc()
White = color.New(color.FgWhite).SprintFunc()
WhiteBold = color.New(color.FgWhite, color.Bold).SprintFunc()
Yellow = color.New(color.FgYellow).SprintFunc()
YellowBold = color.New(color.FgYellow, color.Bold).SprintFunc()
YellowBg = color.New(color.BgYellow, color.FgBlack).SprintFunc()
Green = color.New(color.FgGreen).SprintFunc()
GreenBg = color.New(color.BgGreen, color.FgBlack).SprintFunc()
Red = color.New(color.FgRed).SprintFunc()
Cyan = color.New(color.FgCyan).SprintFunc()
CyanBg = color.New(color.BgCyan, color.FgBlack).SprintFunc()
Blue = color.New(color.FgBlue).SprintFunc()
BlueBg = color.New(color.BgBlue).SprintFunc()
Magenta = color.New(color.FgMagenta).SprintFunc()
)
|