charmbracelet / lipgloss

Style definitions for nice terminal layouts 👄
MIT License
8.22k stars 231 forks source link

(v2) feat: complete color support #420

Closed aymanbagabas closed 1 week ago

aymanbagabas commented 3 weeks ago

This commit adds a new function Complete that replaces the old CompleteColor type. It returns a CompleteFunc which takes three colors and returns the appropriate one based on the given color profile.