diff --git a/color.go b/color.go index b2795fed..6d53c8fb 100644 --- a/color.go +++ b/color.go @@ -101,6 +101,7 @@ const ( // used internally for 256 and 24-bit coloring foreground + FgDefault ) // Foreground Hi-Intensity text colors @@ -128,6 +129,7 @@ const ( // used internally for 256 and 24-bit coloring background + BgDefault ) // Background Hi-Intensity text colors diff --git a/color_test.go b/color_test.go index 586039b4..6537ac53 100644 --- a/color_test.go +++ b/color_test.go @@ -23,6 +23,7 @@ func TestColor(t *testing.T) { text string code Attribute }{ + {text: "default", code: FgDefault}, {text: "black", code: FgBlack}, {text: "red", code: FgRed}, {text: "green", code: FgGreen},