Bug 507722 - Feature request: libadwaita named colors
Summary: Feature request: libadwaita named colors
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (other bugs)
Version First Reported In: 6.4.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-01 07:22 UTC by Mors Mortium
Modified: 2025-09-23 21:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mors Mortium 2025-08-01 07:22:21 UTC
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
Comment 1 Mors Mortium 2025-08-01 12:36:50 UTC
If adding something like this is allowed, I can look into making the PR.
Comment 2 David Edmundson 2025-08-01 13:47:34 UTC
>If adding something like this is allowed, I can look into making the PR.

Do it.