Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Color gradient #1273

Closed
bynect opened this issue Jan 27, 2024 · 2 comments · Fixed by #1370
Closed

Feature: Color gradient #1273

bynect opened this issue Jan 27, 2024 · 2 comments · Fixed by #1370

Comments

@bynect
Copy link
Member

bynect commented Jan 27, 2024

Hello, I was fiddling around and implementing a color gradient feature.
It is still unfinished though and I would like to hear your ideas.

I wanted to add the option to have a gradient to the background and progress bar.
Basically we have a list a colors that are put in a cairo_pattern_t.
If there is only one color the behavior is the same as it is now.

For the syntax of I was thinking of one of the following

# separate
background = whatever # ignored
background_gradient = 0xffaa22,0xfaf2a

or

background = red, green, blue

Example:
img-1706811365

@fwsmit
Copy link
Member

fwsmit commented Feb 18, 2024

I'm just seeing this now. If you want me to react, you can tag me.
The gradient looks cool. Currently the color of the progress bar is called the highlight color. You can expand that one to also accept a list.

@bynect
Copy link
Member Author

bynect commented Feb 18, 2024

I'm just seeing this now. If you want me to react, you can tag me.
The gradient looks cool. Currently the color of the progress bar is called the highlight color. You can expand that one to also accept a list.

Ok so I'll go with the list ruote 👍

I'll present a pr when I'm done

This was referenced Feb 19, 2024
@bynect bynect linked a pull request Sep 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants