Commit
+16 -4 +/-1 browse
1 | diff --git a/types.go b/types.go |
2 | index ad2d072..b99be81 100644 |
3 | --- a/types.go |
4 | +++ b/types.go |
5 | @@ -66,10 +66,22 @@ type Config struct { |
6 | } |
7 | |
8 | var colorMap = map[string]*color.Color{ |
9 | - "red": color.New(color.FgRed), |
10 | - "blue": color.New(color.FgBlue), |
11 | - "green": color.New(color.FgGreen), |
12 | - "white": color.New(color.FgWhite), |
13 | + "black": color.New(color.FgBlack), |
14 | + "hiblack": color.New(color.FgHiBlack), |
15 | + "blue": color.New(color.FgBlue), |
16 | + "hiblue": color.New(color.FgHiBlue), |
17 | + "cyan": color.New(color.FgCyan), |
18 | + "hicyan": color.New(color.FgHiCyan), |
19 | + "green": color.New(color.FgGreen), |
20 | + "higreen": color.New(color.FgHiGreen), |
21 | + "magenta": color.New(color.FgMagenta), |
22 | + "himagenta": color.New(color.FgHiMagenta), |
23 | + "red": color.New(color.FgRed), |
24 | + "hired": color.New(color.FgHiRed), |
25 | + "white": color.New(color.FgWhite), |
26 | + "hiwrite": color.New(color.FgHiWhite), |
27 | + "yellow": color.New(color.FgYellow), |
28 | + "hiyellow": color.New(color.FgHiYellow), |
29 | } |
30 | |
31 | func (c *Config) UnmarshalJSON(raw []byte) error { |