nana-4 / materia-theme

A Material Design theme for GNOME/GTK based desktop environments
GNU General Public License v2.0
3.42k stars 254 forks source link

libadwaita compatibility #618

Open rudrab opened 2 years ago

rudrab commented 2 years ago

Dear @nana-4, are you planning to rebase this with libadwaita? I checked it with fedora36, and as expected, this theme doesn't work with libadwaita based apps like settings, files, etc. As an enduser (I actually recompile your theme with a different color), I can just humbly request you to kindly consider it.

major-mayer commented 2 years ago

I would like to know this too. For example the online radio Shortwave uses libadwaita and i am unable to style it using this theme. If I set GTK_THEME=Materia, the application just looks the same as before. If i use HighContrast for example, you can definitely see a difference.

rudrab commented 2 years ago

@major-mayer this is because libadwaita uses its own stylesheets for light and dark mode. I am not sure if an external theme can change this behaviour.

major-mayer commented 2 years ago

At least according to one of the Manjaro team it should be possible with this env variable: https://forum.manjaro.org/t/how-to-theme-gtk4-apps-in-manjaro-xfce/100189/2?u=majormayer I am not sure tho if this overwrites both the night and dark mode stylesheet.

NathanC commented 1 year ago

I tried the current theme (using GTK_THEME=Materia-dark when starting something), but it doesn't look great. Just from first glance, the newer design seems flatter, and the button hover effects and colors felt out of place. Probably need some heavy rework, and I know basically nothing about this.

Un1q32 commented 1 year ago

You can get it to sort of work by symlinking \<path to materia theme>/gtk-4.0 with ~/.config/gtk-4.0 for me its ln -s /usr/share/themes/Materia-dark/gtk-4.0 ~/.config/gtk-4.0 logout and log back in and libadwaita apps will use the theme (except for containerized apps like flatpaks, snaps and appimages) It will be broken though, for example most buttons on the top bar of the settings app look wrong