I generally use pretty small font sizes because I have a large screen with a low resolution. With those small fonts, it looks pretty odd that the header bars of GTK apps still have their default height. They just look way too big then…
I know that themes like Yaru can produce smaller header bars but switching away from Adwaita is not a solution. Unfortunately, a custom gtk.css file as described here also does not work.
So what is the way to achieve smaller header bars in a modern GNOME environment?
The downside of this approach is that headerbars have different heights and some of them look weird. You might want to experiment with different values.
What I do not really understand is, why you set background-color: #2d2d2d; as this results in black headerbars when a window is not focused. Removing these lines fixes this issue.
After that, some applications e.g. nautilus looks perfectly fine with the new theme. Some, like gnome-terminal, have stretched buttons in the headerbar and the open button in gedit is not vertically centered anymore
will try to tweak it a bit in the future…
Also, if you have an updated version please let me know