lassekongo83 / adw-gtk3

The theme from libadwaita ported to GTK-3
GNU Lesser General Public License v2.1
1.51k stars 57 forks source link

GTK4 Theme? #23

Closed korewaChino closed 2 years ago

korewaChino commented 2 years ago

I know this may be out of scope, but are you going to port this to a standard GTK4 stylesheet? So non-libadwaita GTK4 apps are also able to utilize this theme too.

SilverMarcs commented 2 years ago

Most, if not all gtk4 apps would switch to libadwaita anyway. the extensions app for example already uses libadwaita in gnome 42. Safe to assume celluloid and others would follow.

korewaChino commented 2 years ago

Might as well make it for all the other apps that would not use libadwaita. In case people actually start making standard GTK4 apps that do not use libadwaita (for certain reasons) would have a consistent look with the other libadwaita apps.

lassekongo83 commented 2 years ago

Currently no plans. I'll wait and see.

SilverMarcs commented 2 years ago

Might as well make it for all the other apps that would not use libadwaita. In case people actually start making standard GTK4 apps that do not use libadwaita (for certain reasons) would have a consistent look with the other libadwaita apps.

I doubt gtk4 gnome apps wont adapt to libadwaita but I suppose gtk4 would be used by non-gnome apps as well, and so you have a point.

diegopvlk commented 2 years ago

No need to make a new stylesheet, just use the standard libadwaita. Here is the latest build: gtk4-libadwaita.zip Copy the gtk-4.0 folder to the corresponding theme folder. Screenshot

Aleksanaa commented 2 years ago

But how did you make this build?

diegopvlk commented 2 years ago

https://gitlab.gnome.org/GNOME/libadwaita

You need all the dependencies installed. On fedora these are the packages:

sudo dnf install vala gobject-introspection-devel sassc meson gtk4-devel cmake

Fedora 35 doesn't have the gtk4-devel needed, I used 36.

To build:

meson . _build
ninja -C _build

Css files are in /libadwaita/_build/src/stylesheet/

jacksongoode commented 2 years ago

My extensions versions is 41 and doesn't play nice with this theme (makes it all white when tweaks is set to dark) do I have to install extensions form the nightly gnome flatpak or just wait?

diegopvlk commented 2 years ago

My extensions versions is 41 and doesn't play nice with this theme (makes it all white when tweaks is set to dark) do I have to install extensions form the nightly gnome flatpak or just wait?

No idea, when I was using v41 the theme worked fine with the app. Is the theme even changing? If not, you may need to give permission to access the themes folder: flatpak override --filesystem=~/.themes

It is updated to 42 on flathub though, you don't need gnome nightly for that.