Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libadwaita compatibility #618

Open
rudrab opened this issue Mar 14, 2022 · 5 comments
Open

libadwaita compatibility #618

rudrab opened this issue Mar 14, 2022 · 5 comments
Labels

Comments

@rudrab
Copy link

rudrab commented Mar 14, 2022

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
Copy link

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
Copy link
Author

rudrab commented Mar 15, 2022

@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
Copy link

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
Copy link

NathanC commented Nov 9, 2022

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
Copy link

Un1q32 commented Jun 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants