Adwaita: Avoid directly coloring labels wherever possible (GTK4)

Merged nana-4 requested to merge nana-4/gtk:dont-color-labels-directly-gtk4 into master

Directly coloring labels can create a lot of unintended behaviors. Unfortunately we can't avoid directly coloring label:disabled because it can be used individually. This, however, tries to inherit color from the parent element of labels wherever possible.

Fixes #1643 (closed)


image image

This also fixes the button's label color on the selected row;

image image

and also fixes the modelbutton's label color when an app has .devel class (only happened in gtk4):

image image

Merge request reports