That was a great idea in principle, but when I tried the method there were too many hits for the color (I didn’t count, but may 30 to 40) and none of theme screamed out to me, “Hey, I am the one. Change me.”
Your solution to another post (as above) worked for me too!
But only sort of: that’s the color of selected item background for the active window (one with “focus”).
What would be the code for color for when the window is inactive?
I hope I am making sense. In case I’m not, here’s more detail.
- Before your code: When I selected an item in Thunar, the item got a dark blue background. If I click another window, then that color became a lighter blue. (Theme in question: Fluent-compact, i.e. not Cloudy-gray as was used to generate the pictures in original post.)
- Your code: I used
#888888
. - After the code: Selection in a window under focus is gray (as expected). Without focus, the color is still light blue (I suppose also as expected).
Also would there be code for the selected item’s text color? (A dark background color may benefit from a light text color.) This too would have separate code for active and inactive windows.
I can tell you entering these lines did not work:
@define-color theme_selected_bg_color #555555;
@define-color theme_selected_fg_color #ffffff;
–even though I’d opened a gtk.css
file and found this bit:
/*
base background color of selections */
@define-color theme_selected_bg_color #1A73E8;
/*
text/foreground color of selections */
@define-color theme_selected_fg_color white;