Yaru: Slider-bar not easily visible in dark theme

Created on 16 Jun 2020  路  15Comments  路  Source: ubuntu/yaru

Hi,
Firstly, Yaru-dark shell theme is awesome and I love it
However the slider-bar color for volume and brightness control is almost not easily distinguishable from Menu (sometimes)

Actual Behavior

yaru-dark-1

Expected Behavior

Screenshot from 2020-07-18 17-30-31

Thanks!

GNOME-shell

Most helpful comment

Just a suggestion but set $progress_bg_color to $aubergine instead of if($variant=='light', $aubergine, darken($aubergine, 8%)) should increase the contrast with the background on dark variant:

Capture d鈥櫭ヽran de 2020-07-18 13-22-49

Default:

Capture d鈥櫭ヽran de 2020-07-18 13-22-55

All 15 comments

Hi @Muqtxdir,

thank you for taking time to report this, and for liking Yaru :smile:
I agree with you that this slider is harder to spot than in Yaru light, we went through some iterations to find a decent compromise, but I am not 100% satisfied as well. Of course we don't want to use blue color here :) and the choosen purple is already a compromise that works fine in other places, so it is not easy, but I think we can try get it just right.

Hi @clobrano,
The screenshot is from other Theme,I didn鈥檛 mean purple to be changed to blue, I wanted reference screenshot to compare Yaru-dark鈥檚 background slider color (Sorry for the misunderstanding)

Anyways, Thanks for looking into this!

Maybe we need to brighten up the purple slightly for the dark theme(s)?

Just a suggestion but set $progress_bg_color to $aubergine instead of if($variant=='light', $aubergine, darken($aubergine, 8%)) should increase the contrast with the background on dark variant:

Capture d鈥櫭ヽran de 2020-07-18 13-22-49

Default:

Capture d鈥櫭ヽran de 2020-07-18 13-22-55

Good idea @Jupiter007-43
If you want to test this yourself, you need to log out after building from src and log into the "yaru session"

In fact it is already a screenshot. I installed Yaru as Yaru-dev by modifying meson.build file, then I change the Gtk and shell theme variant into Gnome-tweaks.
But anyway, thanks for the advice 馃槈

Hi @Jupiter007-43,
The contrast helps the purple slider-bar
but is it possible to make the remaining unfilled bar (barlevel-background-color) little more visible like this:

I changed barlevel-background-color value from #3d3d3d to #9d9d9d to show what I mean

barlevel-background-color: #3d3d3d (default):
barry

barlevel-background-color: #9d9d9d (changed):
barlevel

Thanks!

Thanks @Muqtxdir,
the contrast is indeed better with a lighter gray. 馃憤 Personally I prefer use the Ubuntu color $graphite: #666666 for the barlevel-background-color. What do you think of?

Capture d鈥櫭ヽran de 2020-07-18 15-22-06

@Feichtmeier should be a good idea to add more variables to _colors like a $barlevel-background-color, instead of hard coded them? 馃

We try to avoid differences from upstream if not direly needed. To make it easier to merge their code

Okay.

Should I create a PR?

Nono, I'll do it :) Time until 20.04.2 now and/or groovy UI freeze

Ok 馃憤 Thank you!

I don't know if this will be helpful for you, but I also adjust (on my screenshot upper) the $progress_border_color var to:

if($variant== 'light', darken($progress_bg_color, 5%), darken($progress_bg_color, 25%));

Instead of:

if($variant== 'light', darken($progress_bg_color, 5%), darken($progress_bg_color, 20%));

Just because it looks better with the $aubergine color. 20% darken is too light and looks a bit blurry (in my opinion) 馃檪

Should I create a PR? Nono, I'll do it :) Time until 20.04.2 now and/or groovy UI freeze

Would be great to get this into master now so we can test this 馃檭

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Feichtmeier picture Feichtmeier  路  3Comments

chrisjbillington picture chrisjbillington  路  3Comments

mivoligo picture mivoligo  路  3Comments

Muqtxdir picture Muqtxdir  路  3Comments

mivoligo picture mivoligo  路  3Comments