diff --git a/README.md b/README.md index 9a5c41a..a74af91 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [![OpenCollective](https://opencollective.com/realize/sponsors/badge.svg?style=flat-square)](#sponsors)
- +
#### Realize is the Go tool that is focused to speed up and improve developers workflow. @@ -21,7 +21,7 @@ Various operations can be programmed for each project, which can be executed at- +
@@ -219,69 +219,13 @@ $ go get github.com/tockins/realize Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/realize#backer)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + #### Sponsors Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/realize#sponsor)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/style.go b/style.go index ef8afc7..e35a35c 100644 --- a/style.go +++ b/style.go @@ -6,11 +6,11 @@ import ( var ( output = color.Output - red = colorBase(color.FgRed) - blue = colorBase(color.FgBlue) - green = colorBase(color.FgGreen) - yellow = colorBase(color.FgYellow) - magenta = colorBase(color.FgMagenta) + red = colorBase(color.FgHiRed) + blue = colorBase(color.FgHiBlue) + green = colorBase(color.FgHiGreen) + yellow = colorBase(color.FgHiYellow) + magenta = colorBase(color.FgHiMagenta) ) type colorBase color.Attribute diff --git a/style_test.go b/style_test.go index 7f49352..b40be5c 100644 --- a/style_test.go +++ b/style_test.go @@ -14,7 +14,7 @@ func TestStyle_Regular(t *testing.T) { input[i] = s } result := red.regular(input) - c := color.New(color.FgRed).SprintFunc() + c := color.New(color.FgHiRed).SprintFunc() expected := fmt.Sprint(c(input)) if !bytes.Equal([]byte(result), []byte(expected)) { t.Error("Expected:", expected, "instead", result) @@ -28,7 +28,7 @@ func TestStyle_Bold(t *testing.T) { input[i] = s } result := red.bold(input) - c := color.New(color.FgRed, color.Bold).SprintFunc() + c := color.New(color.FgHiRed, color.Bold).SprintFunc() expected := fmt.Sprint(c(input)) if !bytes.Equal([]byte(result), []byte(expected)) { t.Error("Expected:", expected, "instead", result)