[libadwaita/wip/exalm/borders: 26/40] stylesheet: Make dark_fill not depend on border color




commit 7362e3e23710aa6817ae898343ecdc51217a506f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jul 26 20:32:27 2021 +0500

    stylesheet: Make dark_fill not depend on border color
    
    Actually use it for search bars.

 src/stylesheet/_colors.scss           | 2 +-
 src/stylesheet/widgets/_toolbars.scss | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index fec7302e..d4516765 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -26,7 +26,7 @@ $fg_color: if($variant == 'light', $light_fg, $dark_fg);
 $borders_color: if($variant == 'light', darken($bg_color, 18%), darken($bg_color, 10%));
 $link_color: $accent_color;
 $link_visited_color: gtkmix($accent_color, $text_color, 80%);
-$dark_fill: mix($borders_color, $bg_color, 50%);
+$dark_fill: if($variant == 'light', darken($bg_color, 9%), darken($bg_color, 5%));
 $headerbar_bg_color: darken($bg_color, if($variant == 'dark', 5%, 10%));
 $menu_color: $base_color;
 
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index b7957180..633d0ada 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -40,7 +40,7 @@ searchbar > revealer > box {
   border-style: solid;
   border-color: $borders_color;
 
-  background-color: mix($bg_color, $borders_color, 70%);
+  background-color: $dark_fill;
 
  .close {
     min-width: 18px;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]