GTK3: make buttons flat for dark theme

This commit is contained in:
Daniel Ruiz de Alegría
2021-01-21 21:07:28 +01:00
parent 7275b01ffc
commit af9773cab4
5 changed files with 47 additions and 47 deletions
@@ -196,7 +196,7 @@
outline-color: transparentize($tc, 0.7);
border-color: if($c != $bg_color, _border_color($c), $borders_color);
border-bottom-color: if($c != $bg_color, _border_color($c, true), $alt_borders_color);
background-image: linear-gradient(to top, if($c != $bg_color, $c, lighten($c, 3%)) 2px, lighten($c, 5%)),
background-image: image(lighten($c, 5%)),
$backimage;
//@include _button_text_shadow($tc, $c);
@include _shadows(inset 0 1px $_hilight_color, $_button_edge, $_button_shadow);
@@ -10,7 +10,7 @@
< background-image: if($variant == 'light', linear-gradient(to top, darken($c, 4%) 2px, $c),
< linear-gradient(to top, darken($c,1%) 2px, $c)),
---
> background-image: linear-gradient(to top, if($c != $bg_color, $c, lighten($c, 3%)) 2px, lighten($c, 5%)),
> background-image: image(lighten($c, 5%)),
202c201
< @include _button_text_shadow($tc, $c);
---