From 4cd4d75b81db3ee65267258aafcfbfafa8bb8878 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Wed, 3 Feb 2021 23:13:24 +0100 Subject: [PATCH] Adwaita: allow suggested and destructive action buttons in lists Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3643 --- gtk/theme/Adwaita/_common.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index b5094c68e6..fe9db06ded 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -932,6 +932,14 @@ list > row button.image-button:not(.flat) { &:hover { @include button(hover); } &:active, &:checked { @include button(active); } + + @each $b_type, $b_color in (suggested-action, $selected_bg_color), + (destructive-action, $destructive_color) { + &.#{$b_type} { // allow colored buttons in lists #3643 + @include button(normal, $b_color, white); + @include focus-ring($fc: $alt_focus_border_color); + } + } } /*********