[gnome-shell/wip/jimmac/screenshot-osd] theme: Hardcode osd bg color
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/jimmac/screenshot-osd] theme: Hardcode osd bg color
- Date: Tue, 31 May 2022 06:46:55 +0000 (UTC)
commit d16860e433946e912877958a2bba0375857b5809
Author: Jakub Steiner <jimmac gmail com>
Date: Tue May 31 08:45:26 2022 +0200
theme: Hardcode osd bg color
- osd needs to work for both light & dark contexts
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5537
data/theme/gnome-shell-sass/_colors.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/theme/gnome-shell-sass/_colors.scss b/data/theme/gnome-shell-sass/_colors.scss
index 73db6fe03f..f60f98bee3 100644
--- a/data/theme/gnome-shell-sass/_colors.scss
+++ b/data/theme/gnome-shell-sass/_colors.scss
@@ -69,7 +69,7 @@ $success_color: if($variant == 'light', $green_4, $green_5);
$destructive_color: $error_color;
$osd_fg_color: white;
-$osd_bg_color: transparentize(desaturate($bg_color, 100%),0.04);
+$osd_bg_color: #303030; //hardcoded for both light & dark (equivalent to dark $bg_color)
$osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
$osd_insensitive_fg_color: if($variant == 'light', mix($osd_fg_color, $osd_bg_color, 80%),
mix($osd_fg_color, $osd_bg_color, 70%));
$osd_borders_color: transparentize(black, 0.3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]