[libadwaita/wip/exalm/borderless] More changes



commit 6d3763d98fcd6fcd9089fc03d63022897cc91cc9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jul 2 17:40:46 2021 +0500

    More changes
    
    Splitting this is gonna be fun, but not nearly as fun as the previous
    commit.

 src/stylesheet/_defaults.scss              | 4 ++--
 src/stylesheet/widgets/_buttons.scss       | 1 +
 src/stylesheet/widgets/_linked.scss        | 6 ++----
 src/stylesheet/widgets/_view-switcher.scss | 1 +
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/_defaults.scss b/src/stylesheet/_defaults.scss
index 3cec7308..c49f253e 100644
--- a/src/stylesheet/_defaults.scss
+++ b/src/stylesheet/_defaults.scss
@@ -11,12 +11,12 @@
 // The main accent color and the matching text value
 @define-color accent_bg_color #{$blue_3};
 @define-color accent_fg_color #{$light_1};
-@define-color accent_color #{if($variant == 'dark', $blue_1, $blue_5)};
+@define-color accent_color #{if($variant == 'dark', $blue_1, $blue_4)};
 
 // destructive-action buttons
 @define-color destructive_bg_color #{$red_3};
 @define-color destructive_fg_color #{$light_1};
-@define-color destructive_color #{if($variant == 'dark', $red_1, $red_5)};
+@define-color destructive_color #{if($variant == 'dark', $red_1, $red_4)};
 
 // Levelbars, entries, labels and infobars. These don't need text colors
 @define-color success_color #{$green_3};
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 2e49af7b..4ff568b1 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -12,6 +12,7 @@ button {
     padding: 5px 10px;
     border-radius: $button_radius;
     background-color: $button_color;
+    font-weight: bold;
 
     @if $contrast == 'high' {
       box-shadow: inset 0 0 0 1px $borders_color;
diff --git a/src/stylesheet/widgets/_linked.scss b/src/stylesheet/widgets/_linked.scss
index 7bbd34c7..91273915 100644
--- a/src/stylesheet/widgets/_linked.scss
+++ b/src/stylesheet/widgets/_linked.scss
@@ -11,10 +11,6 @@ $_linked_widgets: ("%button",          ""),
                   ("%entry",           ""),
                   ("entry",            "");
 
-.linked {
-  border-spacing: 2px;
-}
-
 @each $widget, $child in $_linked_widgets {
   .linked:not(.vertical) > {
     #{$widget} {
@@ -22,6 +18,7 @@ $_linked_widgets: ("%button",          ""),
       &:dir(rtl):not(:last-child) #{$child} {
         border-top-left-radius: 0;
         border-bottom-left-radius: 0;
+        margin-left: -1px;
       }
 
       &:dir(ltr):not(:last-child) #{$child},
@@ -37,6 +34,7 @@ $_linked_widgets: ("%button",          ""),
       &:not(:first-child) #{$child} {
         border-top-left-radius: 0;
         border-top-right-radius: 0;
+        margin-top: -1px;
       }
 
       &:not(:last-child) #{$child} {
diff --git a/src/stylesheet/widgets/_view-switcher.scss b/src/stylesheet/widgets/_view-switcher.scss
index 0d14b5c4..45582ebb 100644
--- a/src/stylesheet/widgets/_view-switcher.scss
+++ b/src/stylesheet/widgets/_view-switcher.scss
@@ -9,6 +9,7 @@ viewswitcher {
     border-top: none;
     border-bottom: none;
     font-size: 1rem;
+    font-weight: inherit;
 
     > stack > box {
       &.narrow {


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