Skip to content

Commit

Permalink
feat: deprecate Style.ColorWhitespace
Browse files Browse the repository at this point in the history
You can get the exact same effect with margins and padding.
  • Loading branch information
meowgorithm committed May 31, 2024
1 parent e54d9dd commit 7838b4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions set.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ func (s Style) PaddingBottom(i int) Style {
// applied to the padding. This is true by default as it's more than likely the
// desired and expected behavior, but it can be disabled for certain graphic
// effects.
//
// Deprecated: Just use margins and padding.
func (s Style) ColorWhitespace(v bool) Style {
s.set(colorWhitespaceKey, v)
return s
Expand Down

0 comments on commit 7838b4e

Please sign in to comment.