I recently installed Manjaro Xfce and started tweaking with it. Unfortunately, although there are currently three different places to set a theme (Appearance settings, Kvantum Theme manager, Qt Settings) i found out there are still some Apps, especially Gnome apps like baobab
or gnome-logs
that show white theming despite me selecting dark ones in all GUI settings apps. After searching high and low, i found a similar topic in the forum suggesting these are GTK4 apps…and that the theming still does not really work there.
After some experimenting i installed the package adw-gtk3
. From there - /usr/share/themes/adw-gtk3-dark/gtk-4.0/
i could copy the gtk.css
file. To save you the trouble of installing the package, here are the contents:
/* GTK NAMED COLORS ---------------- use responsibly! */
@define-color accent_bg_color @blue_3;
@define-color accent_fg_color white;
@define-color accent_color #78aeed;
@define-color destructive_bg_color @red_4;
@define-color destructive_fg_color white;
@define-color destructive_color #ff7b63;
@define-color success_bg_color @green_5;
@define-color success_fg_color white;
@define-color success_color @green_1;
@define-color warning_bg_color #cd9309;
@define-color warning_fg_color rgba(0, 0, 0, 0.8);
@define-color warning_color @yellow_2;
@define-color error_bg_color @red_4;
@define-color error_fg_color white;
@define-color error_color #ff7b63;
@define-color window_bg_color #242424;
@define-color window_fg_color white;
@define-color view_bg_color #1e1e1e;
@define-color view_fg_color white;
@define-color headerbar_bg_color #303030;
@define-color headerbar_fg_color white;
@define-color headerbar_border_color white;
@define-color headerbar_backdrop_color @window_bg_color;
@define-color headerbar_shade_color rgba(0, 0, 0, 0.36);
@define-color card_bg_color rgba(255, 255, 255, 0.08);
@define-color card_fg_color white;
@define-color card_shade_color rgba(0, 0, 0, 0.36);
@define-color dialog_bg_color #383838;
@define-color dialog_fg_color white;
@define-color popover_bg_color #383838;
@define-color popover_fg_color white;
@define-color thumbnail_bg_color #383838;
@define-color thumbnail_fg_color white;
@define-color shade_color rgba(0, 0, 0, 0.36);
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);
@import '../gtk-3.0/libadwaita.css';
@import '../gtk-3.0/libadwaita-tweaks.css';
The file gtk.css
then goes into ~/.config/gtk-4.0/
and that is it. You do not even need to restart.
Note that there is also setting.ini file with setting to always change to dark theme, which does not seem to do anything (i suppose the right way to do it was to toggle this and then use gtk-dark.css
but it did not work).