[libadwaita/wip/exalm/borderless: 36/46] Revert "stylesheet: Use darker headerbar for focused windows"




commit 7ece82b0bcbbbfa41a2ac4d8530541a0b1d403b9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Jun 29 13:20:00 2021 +0500

    Revert "stylesheet: Use darker headerbar for focused windows"
    
    This reverts commit 9119565063b864eb4b518c2daa2365b61e375b3d.

 src/stylesheet/_colors.scss             | 2 +-
 src/stylesheet/widgets/_header-bar.scss | 2 +-
 src/stylesheet/widgets/_tab-view.scss   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 255c0cf4..2a78e135 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -28,7 +28,7 @@ $thin_borders_color: gtkalpha(currentColor, .05);
 $link_color: $accent_color;
 $link_visited_color: gtkmix($accent_color, $text_color, 80%);
 $dark_fill: if($variant == 'light', darken($bg_color, 9%), darken($bg_color, 5%));
-$headerbar_bg_color: darken($bg_color, if($variant == 'dark', 5%, 10%));
+$headerbar_bg_color: $bg_color;
 $headerbar_border_color: transparentize($fg_color, .85);
 $menu_color: $base_color;
 
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index f5a67d6e..0a0c4c99 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -19,7 +19,7 @@ headerbar {
   }
 
   &:backdrop {
-    background-color: $bg_color;
+    background-color: $headerbar_bg_color;
 
     transition: $backdrop_transition;
 
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index 8b1da141..1e41da65 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -1,4 +1,4 @@
-$tab_bg: $headerbar_bg_color;
+$tab_bg: darken($headerbar_bg_color, 6%);
 $tab_border: mix(opacify($headerbar_border_color, 1), $headerbar_bg_color, 100% * 
alpha($headerbar_border_color));
 
 @mixin undershoot-gradient($dir) {


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