Simple way to broadly theme GTK apps?

I decided to try out Ptyxis, a nice GTK4 terminal emulator that may become the default terminal in the next Fedora release. One of the good things about it is that it offers extensive theming options, that change both the text colors and window decorations of the app.

Here is an example of Ptyxis with the ‘Github Dark’ colorscheme applied, next to a GNOME Files window:

Now i was wondering, would there be a straightforward way to apply a similar colorscheme to the Files window on the left, without having to resort to bulky 3rd party themes ?

I’m really only looking to broadly theme GTK windows like the Ptyxis window on the right, things like background, header and text colors. Can this be done with a few lines in a gtk.css file somewhere?

If you have any tips or suggestions, feel free to chime in.

3 Likes

Added gkt4, libadwaita

No need for a Tiling Window manager anymore. This was all I needed. Now everything ( except Files/Nautilus ) is full screen.

I did find this to be enough, Although I would have liked to see my theme more prominent here, It does not bother me.

But I have a mixed, difficult relationship with themes.

1 Like

You might be able to use a tool like Gradience to mimic the colors of the theme. Two issues:

  • Gradience is unmaintained.
  • I’ve had issues personally with Gradience not affecting the new full-height sidebars introduced recently in Nautilus and GNOME Control Center, but I assume that’s just Gradience not implementing it.
1 Like