From 9c6c7da4e4178adc47888064c9bfbdefcf91064f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammed=20Efe=20=C3=87etin?= Date: Thu, 4 Aug 2022 20:43:07 +0300 Subject: [PATCH] :bug: bug: add forgotten overriding for white color --- color.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/color.go b/color.go index 2dbf831ae9..0a47d81957 100644 --- a/color.go +++ b/color.go @@ -95,6 +95,10 @@ func defaultColors(colors Colors) Colors { colors.Cyan = DefaultColors.Cyan } + if colors.White == "" { + colors.White = DefaultColors.White + } + if colors.Reset == "" { colors.Reset = DefaultColors.Reset }