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




commit a1f46b8f778fcb7a3ddb04ca2c1fa3dddd75d315
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 e7a59b46..3b5fb7dc 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -29,7 +29,7 @@ $borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentiz
 $link_color: $accent_color;
 $link_visited_color: gtkmix($accent_color, $text_color, 80%);
 $dark_fill: mix($borders_color, $bg_color, 50%);
-$headerbar_bg_color: darken($bg_color, if($variant == 'dark', 5%, 10%));
+$headerbar_bg_color: $bg_color;
 $menu_color: $base_color;
 
 $view_hover_color: gtkalpha(currentColor, .07);
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 4ff5990e..7ad8caea 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -16,7 +16,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 dd4fe98f..15d6420a 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%);
 
 @mixin undershoot-gradient($dir) {
   @if $variant == 'dark' {


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