summaryrefslogtreecommitdiff
path: root/tui/style.go
blob: dedd2875ca69e2d1db24dd036f04c79eca551a5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package tui

type Style struct {
	Fg int32
	Bg int32
	Truecolor bool
	Bold bool
	Italic bool
	Underline bool
	Strikethrough bool
}

const (
	Black = iota
	Red
	Green
	Yellow
	Blue
	Magenta
	Cyan
	White
	BrightBlack
	BrightRed
	BrightGreen
	BrightYellow
	BrightBlue
	BrightMagenta
	BrightCyan
	BrightWhite
)

var DefaultStyle = Style {Fg: BrightWhite, Bg: Black}