SUMMARY Libadwaita has a list of guaranteed named colors. https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/named-colors.html Some of these are even listed as aliases of colors from the GTK theme. It would be nice if the GTK4 theme CSS contained at least the colors that are derived from GTK colors. From manual editing of the /usr/share/themes/Breeze/gtk-4.0/gtk.css file, I could confirm that just adding @define-color window_bg_color @theme_bg_color; to it will make apps be able to pick it up. STEPS TO REPRODUCE 1. Open libadwaita app with GTK_THEME=Breeze environment variable OBSERVED RESULT The app can't find the named colors, as they do not exist. This will make that color not set. And if the color is set to be the window background color, the window will be invisible everywhere except where widgets are. EXPECTED RESULT The named colors exist, are picked up and the app displays correctly. SOFTWARE/OS VERSIONS Operating System: Artix Linux KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 Kernel Version: 6.15.8-artix1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × 11th Gen Intel® Core™ i5-11400F @ 2.60GHz Memory: 16 GiB of RAM (15.4 GiB usable) Graphics Processor: AMD Radeon RX 6600 XT Manufacturer: ASUS ADDITIONAL INFORMATION
If adding something like this is allowed, I can look into making the PR.
>If adding something like this is allowed, I can look into making the PR. Do it.