Getting started with GTK theming?


#1

Hey! I’ve been having a few issues with getting off the ground with GTK theming. It appears there’s zero documentation for doing so, and trying to edit the SCSS (and then compiling it) in Adwaita produces no change.

I’d appreciate any help I can get. Thanks!


#2

Trying to edit Adwaita as first shot isn’t what I’d recommend.

You first should try GTK Inspector. You could try using with Widget Factory.

For example, you’d install gtk-3-examples on Ubuntu and then run

GTK_DEBUG=interactive gtk3-widget-factory

then on the styles tab of the inspector, you can try stuff out. Ex.

button { color: red; }  /* color text is now red */