Describe the bug
When utilizing progress.WithScaledGradient()
with bubbles v2 (v2.0.0-beta.1
), the generated gradient results in the below reproduction as a random green color, as a sub-portion of the gradient.
Setup
- OS: Ubuntu (WSL2)
- Shell: Bash
- Terminal Emulator: Windows Terminal (also replicates inside of VHS)
- Terminal Multiplexer: n/a
- Locale: en_US.UTF-8
To Reproduce
- Run the following example here: https://github.com/lrstanley/bubbletint/blob/v2-exp/examples/package-manager/main.go#L39
theme.BrightPurple.Hex() == "#fc874f"
theme.BrightBlue.Hex() == "#ffbe55"
Source Code
https://github.com/lrstanley/bubbletint/tree/v2-exp/examples/package-manager
Expected behavior
Would expect a clean gradient transition between two colors.
Screenshots

Additional context
n/a