[libadwaita/wip/exalm/revert-headers: 3/3] stylesheet: Use darker headerbar for focused windows




commit ef5c4ea6b7e816ffce6a9ed2bb166541007e6854
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jun 24 22:59:30 2021 +0500

    stylesheet: Use darker headerbar for focused windows
    
    Revert the the previous style for now, the new one clearly needs more
    thought.

 src/stylesheet/_colors.scss             | 2 +-
 src/stylesheet/widgets/_header-bar.scss | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 512600fa..75c0bf55 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_standalone_color;
 $link_visited_color: gtkmix($accent_standalone_color, $text_color, 80%);
 $dark_fill: mix($borders_color, $bg_color, 50%);
-$headerbar_bg_color: $bg_color;
+$headerbar_bg_color: darken($bg_color, if($variant == 'dark', 5%, 10%));
 $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 7ad8caea..4ff5990e 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -16,7 +16,7 @@ headerbar {
   }
 
   &:backdrop {
-    background-color: $headerbar_bg_color;
+    background-color: $bg_color;
 
     transition: $backdrop_transition;
 


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