Is there any way to modify the font color of tray only? #2179
-
I want to modify the font color of tray only and don't want to modify all the font color of widgets. #tray{
color: #ffffff;
}
#tray menu{
color: #ffffff;
}
#tray > .passive{
color: #ffffff;
}
#tray > .active{
color: #ffffff;
}
#tray > .needs-attention{
color: #ffffff;
} but it's doesn't attempted to be white( |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Im also interested. Did you manage to solve it? |
Beta Was this translation helpful? Give feedback.
-
The issue here is that you are changing the text color of the tray itself, not it's children (the buttons) I've used the following to change the background color of the buttons on hover:
To change the text color of the buttons you could probably do the following:
This likely isn't a 'good way' to be doing this since it changes all children (from what I've noticed it should matter too much as the buttons seem to be the only children, but it might not stay this way). |
Beta Was this translation helpful? Give feedback.
-
Figured this out today: #tray menu menuitem:hover {
background-color: #000000;
color: #ffffff;
} Doc link for GTK's |
Beta Was this translation helpful? Give feedback.
Figured this out today:
#2569 (comment)
Doc link for GTK's
menuitem
:https://lazka.github.io/pgi-docs/Gtk-3.0/classes/MenuItem.html#class-details