vinceliuice / Graphite-gtk-theme

Graphite gtk theme
GNU General Public License v3.0
1.03k stars 50 forks source link

Headerbar, Titlebar custom background: not working for Nautilus and GTK2 apps #3

Closed Trikenstein closed 2 years ago

Trikenstein commented 3 years ago

Hi,

This might be outside of your theme design but I would really appreciate if you can help to fix. I prefer to have a colored titlebar because this helps me to see better the various windows.

I added at the bottom of ~/.themes/Graphite-blue-dark-compact-nord/gtk-3.0/gtk.css

.titlebar, headerbar {
  background-color: #0063b3;
}
.titlebar:backdrop, headerbar:backdrop {
  background-color: #003a6a;
}

This almost works, except that some applications ignore the custom background (BG) colors. See screenshot. FYI I am able to apply this trick on themes such as:

Graphite_customBGcolor_headerbar-titlebar

Trikenstein commented 3 years ago

Here is how the custom background colors looks on the Nordic theme. Which I slightly customized the gtk.css as above. Also attached the complete modified Nordic theme for your review. Notice all inactive windows have the dimmed blue titlebar background color.

Nordic_customBGcolor_headerbar-titlebar

Nordic-standard_blueTitlebar.zip

vinceliuice commented 3 years ago

https://github.com/vinceliuice/Graphite-gtk-theme/blob/b0e6ddc875aafdaa20378aa117feb22d4a752c44/src/sass/gtk/apps/_gnome-3.0.scss#L20

Trikenstein commented 3 years ago

Not sure what is the prupose of background-color: if($variant == 'light', $titlebar, $base);

Nevertheless the themeing of GTK2 apps (look at audiadous app in top right corner in the above 2 screenshots). You will notice that Graphite doesn't theme very well GTK2 apps. Especially the tabs and the titlebar.

Trikenstein commented 3 years ago

Hi any news?

Trikenstein commented 2 years ago

Fixed in version downloaded on 2021-11-09. Using

./install.sh -d ~/.themes -t blue -c dark -s compact --tweaks nord --tweaks rimless

Must add the custom css section (described in original post) in BOTH files