jnsh / arc-theme

A flat theme with transparent elements (actively maintained fork)
GNU General Public License v3.0
906 stars 78 forks source link

Change icon color in file chooser ? #207

Closed ShellCode33 closed 1 year ago

ShellCode33 commented 1 year ago

Hey! Thanks a lot for your work.

I have installed the following icons theme: https://github.com/SylEleuth/gruvbox-plus-icon-pack

But as you can see it doesn't do really well on a dark theme (I don't like it) :

image

If I'm not mistaken, this type of icon is called a symbolic icon right ? From what I have read on the internet, it seems there's a way to override the color of these icons using CSS and that's the "parent" theme job to override this. I haven't found out how though. Do you happen to know how I could manage to do that ?

I've tried the following : https://docs.gtk.org/gtk3/css-overview.html#recoloring-an-image

By putting this in my ~/.config/gtk-3.0/gtk.css :

* {
  -gtk-icon-source: -gtk-recolor(url('*'), success blue, error rgb(255,0,0));
}

With no luck. I get Could not load a pixbuf from icon theme. Probably because you cannot use a wildcard here.

I'm on ArchLinux, and I installed your theme using the arc-gtk-theme package, so this is your latest release 20221218.

jnsh commented 1 year ago

File chooser treeview doesn't seem to be using symbolic icons, so it is up to the icon theme.

ShellCode33 commented 1 year ago

What makes you think it doesn't use symbolic icons ? Is it an issue on the file chooser side or is it an icon theme issue ?

I really don't know how it works but I thought the icons in my initial post were symbolic icons, and those were not:

image

jnsh commented 1 year ago

If they were symbolic icons, they were colored with the foreground color from the theme, and not some random yellowish color. Also I checked on my system that these are not symbolic, even though they might seem so with your icon theme due to the monochrome design on small icons.

It's really not an issue with either. Just that the color scheme the icons are using does not match colors on Arc theme.

ShellCode33 commented 1 year ago

Alright, thanks for your replies, I guess I will just change my icon theme then.