vinceliuice / Graphite-gtk-theme

Graphite gtk theme
GNU General Public License v3.0
1.04k stars 52 forks source link

Xfwm theme doesn't follow accent color #113

Open Dejweed opened 1 year ago

Dejweed commented 1 year ago

This could be changed by using .xpm files and the active_color_1. Here I converted the left-active to xpm and as you can see it is green as it should be: image

Dejweed commented 1 year ago

The accent color could also be applied to the xfce panel. Now it's just white: image

vinceliuice commented 1 year ago

How to make xpm files?

Dejweed commented 1 year ago

I used gimp, opened the png (make sure it uses indexed colors) and exported as .xpm. Then you can edit it with text editor and change the colors like shown in the image above and it will use colors from gtk theme. If you want I can make a pull request. Then it would be best to only use the system accent color for normal themes and hardcode the colors for the --theme ones (like green in my example).

vinceliuice commented 1 year ago

OK, I'll try

Dejweed commented 1 year ago

Alright I will start working on the xfwm theme. I found a new issue. In thunar at Edit > Configure custom actions > Edit action the Use Startup Notification shouldn't be there. image

Using Graphite theme with panel set to Dark mode off, panel text becomes black: image

It would be nice if there was a border around "alt-tab" cycle windows thing. image

Dejweed commented 1 year ago

Okay here's what I found: The .xpm accent color I was talking about would use colors from gtk theme. The issue there could be antialiasing, so I'll see if anything can be done to avoid that. For colors (red,blue,...) you could just replace the colors in the assets.svg (for blue sed -i "s/#e0e0e0/#3684dd/g") and then use render-assets.sh.