From 0942e863f276b9c542aacb28375a686c50d2b944 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Fri, 5 Mar 2021 22:59:25 +0500 Subject: Adwaita: Use transparent black for window border in dark too Avoid smear when the background behind the window is dark. Adjust opacity to make it appear roughly the same as before on white background. --- gtk/theme/Adwaita/_common.scss | 6 +++--- 1 file 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), -- cgit v1.2.1