lipgloss icon indicating copy to clipboard operation
lipgloss copied to clipboard

Add support for gradient colours

Open schmorrison opened this issue 2 years ago • 3 comments

Adds a struct which implements TerminalColor interface. Added steps to Render for gradient application to text.

schmorrison avatar Oct 31 '22 01:10 schmorrison

This looks pretty cool, even though it does complicate the common code paths a bit. I guess we could try and separate a bit of the nested rendering code.

muesli avatar Mar 01 '23 13:03 muesli

Thanks. TBH I totally forgot about this one. I remember that I couldn't figure out a clean entrypoint to accomplish this. It works and passes tests......... but I'm not sure if you have any plans to modify the Render method ever again 👹

schmorrison avatar Mar 03 '23 08:03 schmorrison