[libadwaita/wip/exalm/background-colors: 45/48] stylesheet: Stop using scss functions for tab bar styles




commit ddb75b6b1a47de0273b87eca0e268bb0d176e963
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Sep 2 18:55:58 2021 +0500

    stylesheet: Stop using scss functions for tab bar styles

 src/stylesheet/widgets/_tab-view.scss | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index 5d0887bf..e8c03590 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -24,7 +24,8 @@ $tab_border: gtkmix($headerbar_border_color, $headerbar_bg_color, 100% * $header
 tabbar {
   .box {
     min-height: 38px;
-    background: darken($tab_bg, 3%);
+    background: gtkshade($tab_bg, .97);
+    color: $headerbar_fg_color;
     border-bottom: 1px solid $tab_border;
   }
 
@@ -82,15 +83,15 @@ tabbar {
     @include focus-ring();
 
     &:checked {
-      background-color: lighten($tab_bg, 6%);
+      background-color: gtkshade($tab_bg, 1.06);
 
       &:hover {
-        background-color: lighten($tab_bg, 9%);
+        background-color: gtkshade($tab_bg, 1.09);
       }
     }
 
     &:hover {
-      background-color: lighten($tab_bg, 3%);
+      background-color: gtkshade($tab_bg, 1.03);
     }
   }
 
@@ -120,7 +121,7 @@ tabbar {
 
 dnd tab {
   min-height: 26px;
-  background-color: lighten($tab_bg, 9%);
+  background-color: gtkshade($tab_bg, 1.09);
 
   $_wm_border: if($variant=='light', transparentize(black, 0.77), transparentize(black, 0.25));
 


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