Skip to content

Commit 86175bf

Browse files
fix: use ANSI color codes instead of RGB
1 parent 5e308df commit 86175bf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

cli/cliui/cliui.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ var (
3737
)
3838

3939
var (
40-
Green = Color("#04B575")
41-
Red = Color("#ED567A")
42-
Fuchsia = Color("#EE6FF8")
43-
Yellow = Color("#ECFD65")
44-
Blue = Color("#5000ff")
40+
Green = Color("2")
41+
Red = Color("1")
42+
Yellow = Color("3")
43+
Blue = Color("6")
4544
)
4645

4746
// Color returns a color for the given string.
@@ -123,7 +122,7 @@ func init() {
123122
DefaultStyles = Styles{
124123
Code: pretty.Style{
125124
ifTerm(pretty.XPad(1, 1)),
126-
pretty.FgColor(Red),
125+
pretty.FgColor(color.Color("#ED567A")),
127126
pretty.BgColor(color.Color("#2c2c2c")),
128127
},
129128
DateTimeStamp: pretty.Style{

0 commit comments

Comments
 (0)