Closed wallisch closed 9 years ago
I don't know where this badge gets it's style from, but I don't think it's the theme. I searched the elementary and numix themes for this and couldn't find anything. What application is this? And is it the only application with this badge?
The application is "Telegram", but Thunderbird also displays this bagde.
I made a couple of screenshots with different themes to illustrate the issue: http://imgur.com/a/7n11U
How should this normally look on elementary?
I think Plank reads the @selected_bg_color
variable from the current gtk theme and shifts its hue until the blue becomes red. Then it uses this color to draw the badge gradient. The whole thing is hardcoded and not configurable without changing the source code.
This also explains why the badge becomes green with numix, since numix uses a red color as @selected_bg_color
.
It seems that this algorithm produces ugly gradients for certain colors, but I can't do anything about it. I have problems like this all the time with elementary apps. They're just too tightly integrated with the default theme.
Why on earth would someone do that instead of making it an option in the plank theme config files... Anyway, thanks for looking into it.
Great Theme by the way!
Edit: Issue exists since 2 years, but apparently it doesn't annoy anyone https://bugs.launchpad.net/plank/+bug/1156159
The notification count badge (?) on elementary OS shown in Plank really bugs me, because it doesn't fit to the rest of the theme. It seems to change if i switch to other themes (elementary, numix).
I tried to change it manually, but i couldn't find out how it's called ...