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 committed Aug 4, 2022
1 parent 5bc1871 commit 9c6c7da
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 9c6c7da

Please sign in to comment.