-
Notifications
You must be signed in to change notification settings - Fork 460
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
Fix progress bar colors #2153
Fix progress bar colors #2153
Conversation
Ok, I did some extra changes and now it allows to set all the colors using CSS. It is possible to choose between plain colors or gradients, and more. |
@jbicha Can you review this when you have some spare time, please? |
@3v1n0 Or you, Marco, can you review this when you have some spare time, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, some cleanups but indeed it is an improvement!
As commented in ubuntu/yaru#4016, the progress bar, with its 3D gradient track, doesn't fit very well in the current Gnome/Yaru theme. This patch changes this, moving the track to a planar look, and also allows to set the colors in the CSS.
6722911
to
558378f
Compare
558378f
to
781e5c0
Compare
Thanks, let's get this in! |
As commented in ubuntu/yaru#4016, the progress bar, with its 3D gradient track, doesn't fit very well in the current Gnome/Yaru theme.
This patch changes this, allowing to set all the colors in the bars using CSS: the background color and outline width and color both for the track and the progress bar itself, and also use either plain colors or gradients in each of the four elements, allowing to also specify the start and stop points.