charmbracelet / bubbles

TUI components for Bubble Tea 🫧
MIT License
5.24k stars 247 forks source link

feat: make progress use lipgloss styles #543

Open nervo opened 1 month ago

nervo commented 1 month ago

Progress component is not cleanly usable in a lipgloss style driven project, because of its dependencies on termenv colors and color profile. Indeed, Both of them are not directly exposed by lipgloss styles..

Btw, i've managed to make it use lipgloss styles in a backward compatible way \o/

The rest is all about using FullStyle and EmtpyStyle to render runes, instead of termenv.String.

Happy comments :)