[libadwaita/wip/exalm/borderless: 27/32] stylesheet: Remove alt border color




commit ff2a9499bcc60c0f14be618dc191a99c63e8e923
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 87053aff..579f7161 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 c960b91b..45729205 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;
 
   @extend %toolbar;
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index d238c978..2bb06d73 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -24,7 +24,7 @@ tabbar {
   .box {
     min-height: 38px;
     background: darken($tab_bg, 3%);
-    border-bottom: 1px solid $alt_borders_color;
+    border-bottom: 1px solid $borders_color;
   }
 
   &:backdrop {
@@ -35,7 +35,7 @@ tabbar {
 
   scrolledwindow.pinned {
     undershoot {
-      border: 0 solid $alt_borders_color;
+      border: 0 solid $borders_color;
     }
 
     &:dir(rtl) undershoot.left {
@@ -48,11 +48,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;
       }
     }
   }
@@ -79,7 +79,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;
@@ -112,7 +112,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]