mirror of
https://github.com/charmbracelet/lipgloss.git
synced 2024-11-23 14:26:29 +03:00
feat: deprecate Style.ColorWhitespace
You can get the exact same effect with margins and padding.
This commit is contained in:
parent
e54d9dd05a
commit
7838b4e195
2
set.go
2
set.go
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user