Color Gradient support (ProgressBar, Rule, Text, Figlet, etc) #1034
gakera
started this conversation in
Show and tell
Replies: 1 comment
-
I added (terrible) proof of concept gradient support to Rule, can you guess where I got the color scheme from ? 😅 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm playing around with trying to add gradient support for a nice color fade, so far I've only tried with Progress bar, but I feel like most elements would benefit from this ability. Not sure if my approach, to just modify the render function, is the best approach, I feel like maybe modifying the Segment object would be better? Any opinions?
main...gakera:spectre.console:gak/gradient#diff-8eac7d6f1c5c4ca40a30cfd21d2bbab04904cb43df495c69a0b46b9c172e96c6
ProgressColor.mov
Beta Was this translation helpful? Give feedback.
All reactions