[libadwaita/wip/exalm/borders: 2/5] stylesheet: Remove alt border color




commit ed056675251471b690014b34198b67325631405a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jun 17 20:11:16 2021 +0500

    stylesheet: Remove alt border color
    
    Use the regular one instead.

 src/stylesheet/_colors.scss             |  2 --
 src/stylesheet/widgets/_header-bar.scss |  2 +-
 src/stylesheet/widgets/_tab-view.scss   | 12 ++++++------
 3 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 148fc99b..fec7302e 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -24,7 +24,6 @@ $bg_color: if($variant == 'light', $light_bg, $dark_bg);
 $fg_color: if($variant == 'light', $light_fg, $dark_fg);
 
 $borders_color: if($variant == 'light', darken($bg_color, 18%), darken($bg_color, 10%));
-$alt_borders_color: if($variant == 'light', darken($bg_color, 24%), darken($bg_color, 18%));
 $link_color: $accent_color;
 $link_visited_color: gtkmix($accent_color, $text_color, 80%);
 $dark_fill: mix($borders_color, $bg_color, 50%);
@@ -91,7 +90,6 @@ $dim_label_opacity: 0.55;
   $fg_color: if($variant == 'light', darken($fg_color, 3%), lighten($fg_color, 2%));
   $bg_color: if($variant == 'light', lighten($bg_color, 3%), darken($bg_color, 2%));
   $borders_color: if($variant == 'light', darken($borders_color, 30%), lighten($borders_color, 30%));
-  $alt_borders_color: if($variant == 'light', darken($alt_borders_color, 33%), lighten($alt_borders_color, 
28%));
 
   //insensitive state derived colors
   $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 4ff5990e..5cfe0cc9 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -2,7 +2,7 @@ headerbar {
   min-height: 46px;
   border-width: 0 0 1px;
   border-style: solid;
-  border-color: $alt_borders_color;
+  border-color: $borders_color;
   background-color: $headerbar_bg_color;
 
   > windowhandle > box {
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index dd4fe98f..ef4b4af7 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -24,12 +24,12 @@ tabbar {
   .box {
     min-height: 38px;
     background: darken($tab_bg, 3%);
-    border-bottom: 1px solid $alt_borders_color;
+    border-bottom: 1px solid $borders_color;
   }
 
   scrolledwindow.pinned {
     undershoot {
-      border: 0 solid $alt_borders_color;
+      border: 0 solid $borders_color;
     }
 
     &:dir(rtl) undershoot.left {
@@ -42,11 +42,11 @@ tabbar {
 
     tabbox {
       &:dir(ltr) {
-        box-shadow: inset -1px 0 $alt_borders_color;
+        box-shadow: inset -1px 0 $borders_color;
       }
 
       &:dir(rtl) {
-        box-shadow: inset 1px 0 $alt_borders_color;
+        box-shadow: inset 1px 0 $borders_color;
       }
     }
   }
@@ -73,7 +73,7 @@ tabbar {
 
   tab {
     border-style: solid;
-    border-color: $alt_borders_color;
+    border-color: $borders_color;
     border-width: 0 1px 0 1px;
     transition: background 150ms ease-in-out, $focus_transition;
     background-color: $tab_bg;
@@ -96,7 +96,7 @@ tabbar {
   .start-action,
   .end-action {
     background: $tab_bg;
-    border-color: $alt_borders_color;
+    border-color: $borders_color;
     border-style: solid;
     transition: background 150ms ease-in-out;
 


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