theme: fix 'hover' and 'check' colors for buttons under .toolbar
authorNelson Benítez León <nbenitezl@gmail.com>
Sun, 16 Apr 2023 20:16:10 +0000 (16:16 -0400)
committerNelson Benítez León <nbenitezl@gmail.com>
Sun, 16 Apr 2023 20:16:10 +0000 (16:16 -0400)
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

gtk/theme/Default/_common.scss

index 7135eba9ac4ef84ddb8f2ccc4018886398a34118..26ff434aacb9a34eb33ab76a561deb54ca1027de 100644 (file)
@@ -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 {