summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2021-03-05 22:59:25 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2021-03-05 22:59:25 +0500
commit0942e863f276b9c542aacb28375a686c50d2b944 (patch)
tree9f3976392680fcb54e64537e8a9377908d86563b
parent08f3618a471410c19c7060c6337fcb0a507c52e4 (diff)
downloadgtk+-wip/exalm/window-shadow-dark-4.tar.gz
Adwaita: Use transparent black for window border in dark toowip/exalm/window-shadow-dark-4
Avoid smear when the background behind the window is dark. Adjust opacity to make it appear roughly the same as before on white background.
-rw-r--r--gtk/theme/Adwaita/_common.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ca35ea7b30..c5baa58518 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1821,7 +1821,7 @@ popover.background {
> arrow,
> contents {
- $_popover_border: if($variant=='light', transparentize(black, 0.77), transparentize($borders_color, 0.1));
+ $_popover_border: if($variant=='light', transparentize(black, 0.77), transparentize(black, 0.25));
background-color: $menu_color;
background-clip: padding-box;
@@ -4043,8 +4043,8 @@ window {
// this needs to be transparent
// see bug #722563
- $_wm_border: if($variant=='light', transparentize(black, 0.77), transparentize($borders_color, 0.1));
- $_wm_border_backdrop: if($variant=='light', transparentize(black, 0.82), transparentize($borders_color, 0.1));
+ $_wm_border: if($variant=='light', transparentize(black, 0.77), transparentize(black, 0.25));
+ $_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),