[gtk/wip/exalm/window-shadow-dark-4] Adwaita: Use transparent black for window border in dark too
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/window-shadow-dark-4] Adwaita: Use transparent black for window border in dark too
- Date: Fri, 5 Mar 2021 18:01:02 +0000 (UTC)
commit 0942e863f276b9c542aacb28375a686c50d2b944
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Mar 5 22:59:25 2021 +0500
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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]