Skip to content

Commit

Permalink
🐛 bug: add forgotten overriding for white color
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn authored and trim21 committed Aug 15, 2022
1 parent b3c3864 commit eb6838e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions color.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit eb6838e

Please sign in to comment.