From: Nelson Benítez León Date: Sun, 16 Apr 2023 20:16:10 +0000 (-0400) Subject: theme: fix 'hover' and 'check' colors for buttons under .toolbar X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~390^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a309a56acfad2ab82710d241cee051147d62c65c;p=gtk4.git theme: fix 'hover' and 'check' colors for buttons under .toolbar Buttons under .toolbar were using for their 'hover', 'active' and 'check' colors the default ones from %button_basic_flat which are very dimmed, so we explicitly darken them. Part of #5725 --- diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 7135eba9ac..26ff434aac 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -951,6 +951,10 @@ modelbutton.flat arrow { margin: 1px; @extend %button_basic_flat; + + &:hover { @include button(undecorated-hover, $c:darken($bg_color, 4%)); } + &:active, + &:checked { @include button(undecorated-active, $c:darken($bg_color, 4%)); } } button.color {