fix: Deprecate UnsetBorderTopBackgroundColor in favor of UnsetBorderTopBackground

This commit is contained in:
Florian Rey 2024-06-08 19:18:38 +02:00 committed by Christian Rocha
parent bbd02ab316
commit 33b3263db7

View File

@ -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
}