nana-4 / materia-theme

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

GTK4 support? #256

Closed refi64 closed 6 years ago

refi64 commented 6 years ago

I couldn't find any mention of this, so I was wondering if there were any plans to support it.

nana-4 commented 6 years ago

Of course, I will!

However, GTK4 is still under heavy development and there are still many API changes. So it's too early to start developing the theme. :)

But I will mention the GTK4 support at TODO.md.

actionless commented 6 years ago

as a side point i would also add what currently on arch both gtk4 AUR packages are indeed building however none of demo apps is starting fine, in such situation it's quite hard doing even any early adopting/research (i was attempting to do it for oomox gtk theme recently)

refi64 commented 6 years ago

👍

refi64 commented 6 years ago

FWIW, the GTK+ 3.94 announcement post mentions:

With GTK+ 3.94.0, it should be possible to start porting applications.

codic12 commented 3 years ago

Hi, Gtk 4 is stable now, and gnome 40 with gtk4 is coming out soon, so any plans to add gtk 4 support? Just curious, thanks!

actionless commented 3 years ago

@codic12 did they already released documentation for or reference theme implementation CSS example?

codic12 commented 3 years ago

The Adwaita theme is supported in GTK4. GTK4 themeing docs: https://developer.gnome.org/gtk4/stable/theming.html

actionless commented 3 years ago

im able to google gtk4 docs myself ;)

could you point (using direct links) to exact things i've asked about

nana-4 commented 3 years ago

GTK 4 support has just landed :)

actionless commented 3 years ago

@nana-4 what did you used as a reference when you were working on it?

nana-4 commented 3 years ago

@actionless Basically I only referred to the upstream Adwaita code and its commit log and messages.

However, the theme changes in GTK 4 are too many, so if you are trying to port your theme to GTK 4, I'd recommend ignoring the commit log and rewriting the upstream GTK 4 Adwaita to your style.

actionless commented 3 years ago

i'm indeed planning to write a new oomox-inspired theme (now it's not a secret anymore :D)

thanks a lot for the links!

codic12 commented 3 years ago

That's awesome, thank you for your work!

could you point (using direct links) to exact things i've asked about I thought that was what you were asking about, sorry.