[libadwaita] stylesheet: Softer window shadows



commit 1ca63211d69b7d44401efccd62409c81a27f86eb
Author: Tobias Bernard <tbernard gnome org>
Date:   Thu Jul 29 17:36:53 2021 +0000

    stylesheet: Softer window shadows

 src/stylesheet/widgets/_window.scss | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/src/stylesheet/widgets/_window.scss b/src/stylesheet/widgets/_window.scss
index 01ec0a86..e447e189 100644
--- a/src/stylesheet/widgets/_window.scss
+++ b/src/stylesheet/widgets/_window.scss
@@ -8,8 +8,10 @@ window {
   $_wm_border_backdrop: if($variant=='light', transparentize(black, 0.82), transparentize(black, 0.25));
 
   &.csd {
-    box-shadow: 0 3px 9px 1px transparentize(black, 0.5),
-                0 2px 6px 2px transparent,
+    box-shadow: 0 1px 3px 3px transparent,
+                0 2px 8px 2px transparentize(black, 0.87),
+                0 3px 20px 10px transparentize(black, 0.91),
+                0 6px 32px 16px transparentize(black, 0.96),
                 0 0 0 1px $_wm_border; //doing borders with box-shadow
     margin: 0px;
     border-radius: $window_radius;
@@ -25,8 +27,10 @@ window {
       // change when we go to backdrop, to prevent jumping windows.
       // The biggest shadow should be in the same order then in the active state
       // or the jumping will happen during the transition.
-      box-shadow: 0 3px 9px 1px transparent,
-                  0 2px 6px 2px transparentize(black, 0.8),
+      box-shadow: 0 1px 3px 3px transparentize(black, 0.91),
+                  0 2px 14px 5px transparentize(black, 0.95),
+                  0 4px 28px 12px transparentize(black, 0.97),
+                  0 6px 32px 16px transparent,
                   0 0 0 1px $_wm_border_backdrop;
       transition: $backdrop_transition;
     }


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