From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= Date: Tue, 21 Mar 2023 00:46:05 +0100 Subject: stylesheet/common: Use disabled opacity for disabled pictures To mimic https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5689 Origin: https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/814 --- src/stylesheet/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss index de00da8..2dd82a4 100644 --- a/src/stylesheet/_common.scss +++ b/src/stylesheet/_common.scss @@ -39,6 +39,10 @@ dnd { -gtk-icon-size: 32px; } +picture:disabled { + opacity: var(--disabled-opacity); +} + %osd, .osd:not(progressbar):not(button):not(menubutton):not(splitbutton):not(inline-view-switcher) { --accent-bg-color: RGB(255 255 255 / 75%);