My Adwaita appropriation, made with a decent amount of scorn for GNOME's recent idiocity and yearnful longing for days when running Linux desktop was still a fun, colorful, customizable, and empowering experience.
Aiding maintanability, the theme inherits all styles from Adwaita-Dark, but with the following distinctions:
- reduced padding/min-size of elements like tabs and buttons,
- a more prominent keyboard/mouse focus and current window state indicator.
The theme is, time permitting, made to work with GNOME/GTK+ stack that comes with (each) Debian stable release.
Copy all files into ~/.themes/MyAdwaita.
mkdir ~/.themes
cd ~/.themes
git clone https://github.com/kernc/MyAdwaita
For libadwaita GTK4 apps, one needs to set environment variable
GTK_THEME=MyAdwaita, otherwise the theme is not applied.
To query GtkSettings (of ./gtk-3.0/settings.ini), run:
gtk-query-settings
To view Adwaita theme built into GTK+, run:
gresource extract \
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0 \
/org/gtk/libgtk/theme/Adwaita/gtk-contained-dark.css
gresource list /usr/lib/x86_64-linux-gnu/libgtk-4.so.1
gresource extract \
/usr/lib/x86_64-linux-gnu/libgtk-4.so.1 \
/org/gtk/libgtk/theme/Default/Default-dark.css
# or, for "libadwaita apps":
gresource extract \
/usr/lib/x86_64-linux-gnu/libadwaita-1.so.0 \
/org/gnome/Adwaita/styles/base.css # 🤷
# Extract colors
... | grep -B3 define-color
To inspect GTK+ widgets' properties and styles:
sudo apt install gtk3-examples gtk4-examples
GTK_DEBUG=interactive gtk4-widget-factory