mirror of
https://github.com/charmbracelet/lipgloss.git
synced 2024-11-23 14:26:29 +03:00
fix: Deprecate UnsetBorderTopBackgroundColor in favor of UnsetBorderTopBackground
This commit is contained in:
parent
bbd02ab316
commit
33b3263db7
8
unset.go
8
unset.go
@ -249,7 +249,15 @@ func (s Style) UnsetBorderBackground() Style {
|
||||
|
||||
// UnsetBorderTopBackgroundColor removes the top border background color rule,
|
||||
// if set.
|
||||
//
|
||||
// Deprecated: This function simply calls Style.UnsetBorderTopBackground.
|
||||
func (s Style) UnsetBorderTopBackgroundColor() Style {
|
||||
return s.UnsetBorderTopBackground()
|
||||
}
|
||||
|
||||
// UnsetBorderTopBackground removes the top border background color rule,
|
||||
// if set.
|
||||
func (s Style) UnsetBorderTopBackground() Style {
|
||||
s.unset(borderTopBackgroundKey)
|
||||
return s
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user