[libadwaita/wip/exalm/background-colors: 59/60] o




commit 511eb2fde8da407768556aaec72a83553d278f31
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Sep 13 14:16:08 2021 +0500

    o

 src/stylesheet/_colors.scss           | 22 ++++++++++------------
 src/stylesheet/widgets/_sidebars.scss |  1 -
 2 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 661c9315..b5ddf765 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -18,17 +18,17 @@ $success_color: gtkcolor(success_color);
 $warning_color: gtkcolor(warning_color);
 $error_color: gtkcolor(error_color);
 
-@define-color base_color             #{if($variant == 'light', #ffffff, #1e1e1e)};
-@define-color text_color             #{if($variant == 'light', #000000, #ffffff)};
+@define-color base_color             #{if($variant == 'light', #ffffff, #1e1e1e)};//?
+@define-color text_color             #{if($variant == 'light', #000000, #ffffff)};//?
 @define-color bg_color               #{if($variant == 'light', #fbfbfb, #2b2b2b)};
-@define-color fg_color               #{if($variant == 'light', #323232, #ffffff)};
-@define-color headerbar_bg_color     #{if($variant == 'light', #f0f0f0, #303030)};
-@define-color headerbar_fg_color     #{if($variant == 'light', #323232, #ffffff)};
-@define-color headerbar_border_color #{if($variant == 'light', #323232, #ffffff)};
-@define-color dark_fill_color        #{if($variant == 'light', #f0f0f0, #1e1e1e)};
-@define-color card_bg_color          #{if($variant == 'light', #ffffff, #343434)};
-@define-color card_fg_color          #{if($variant == 'light', #323232, #ffffff)};
-@define-color card_border_color      #{if($variant == 'light', gtkalpha(currentColor, .075), transparent)};
+@define-color fg_color               #{if($variant == 'light', transparentize(black, .2), white)};
+@define-color headerbar_bg_color     #{if($variant == 'light', #f0f0f0, #242424)};
+@define-color headerbar_fg_color     #{if($variant == 'light', transparentize(black, .2), white)};
+@define-color headerbar_border_color #{if($variant == 'light', transparentize(black, .2), white)};
+@define-color dark_fill_color        #{if($variant == 'light', #f0f0f0, #1e1e1e)};//?
+@define-color card_bg_color          #{if($variant == 'light', white, transparentize(white, .95))};
+@define-color card_fg_color          #{if($variant == 'light', transparentize(black, .2), white)};
+@define-color card_border_color      #{if($variant == 'light', gtkalpha(currentColor, .18), transparent)};
 
 $base_color: gtkcolor(base_color);
 $text_color: gtkcolor(text_color);
@@ -70,8 +70,6 @@ $osd_fg_color: $dark_fg;
 $osd_text_color: white;
 $osd_bg_color: transparentize(black, 0.3);
 
-$sidebar_bg_color: gtkmix($bg_color, $base_color, 50%);
-
 $tooltip_borders_color: transparentize(white, 0.9);
 $shadow_color: transparentize(black, 0.9);
 
diff --git a/src/stylesheet/widgets/_sidebars.scss b/src/stylesheet/widgets/_sidebars.scss
index 71a274ed..b30ff971 100644
--- a/src/stylesheet/widgets/_sidebars.scss
+++ b/src/stylesheet/widgets/_sidebars.scss
@@ -1,5 +1,4 @@
 .sidebar {
-  background-color: $sidebar_bg_color;
   background-clip: padding-box;
 
   &:not(separator) {


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