Skip to content

Commit

Permalink
fix: Deprecate UnsetBorderTopBackgroundColor in favor of UnsetBorderT…
Browse files Browse the repository at this point in the history
…opBackground
  • Loading branch information
nervo authored and meowgorithm committed Jun 8, 2024
1 parent bbd02ab commit 33b3263
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions unset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 33b3263

Please sign in to comment.