summaryrefslogtreecommitdiff
path: root/tui/style.go
blob: aa58448fcb626d96076ec7f453a96cb31cec82e5 (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
	Bold bool
	Italic bool
	Underline bool
	Strikethrough bool
	selected 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}