github charmbracelet/lipgloss v0.1.2

latest releases: v0.10.0, v0.9.1, v0.9.0...
3 years ago

Border Color API Adjustments

This update makes the border color API more consistent with the other color-related potions of the API by dropping the Color suffix in color-related border methods.

Changes to border foreground methods:

  • BorderForegroundColor is now BorderForeground
  • BorderTopForegroundColor is now BorderTopForeground
  • BorderRightForegroundColor is now BorderRightForeground
  • BorderBottomForegroundColor is now BorderBottomForeground
  • BorderLeftForegroundColor is now BorderLeftForeground

Changes to border background methods:

  • BorderBackgroundColor is now BorderBackground
  • BorderTopBackgroundColor is now BorderTopBackground
  • BorderRightBackgroundColor is now BorderRightBackground
  • BorderBottomBackgroundColor is now BorderBottomBackground
  • BorderLeftBackgroundColor is now BorderLeftBackground

Also:

  • UnsetBorderColor has been removed. To unset border colors use UnsetBorderForeground and UnsetBorderBackground.

We hope you’re enjoying Lip Gloss!


Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse or right here in GitHub Discussions.

The Charm logo

Don't miss a new lipgloss release

NewReleases is sending notifications on new releases.