From db1336120c0aef4e844da2481d3326d25b1f599b Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Tue, 9 Mar 2021 20:22:37 +0100 Subject: [PATCH] styling: Update for darker system grey - darken buttons similarly to the app grid groups - entries as well - adjust foreground color of additional elements to work for 'light' variant as well Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3847 Part-of: --- .../widgets/_login-dialog.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss index 78d2a2af3..d6608fc30 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss @@ -11,13 +11,13 @@ border: none; background-color: transparent; - $_gdm_bg: lighten(#2e3436, 19%); + $_gdm_bg: $system_bg_color; StEntry { @if $variant=='dark' { - $_gdm_entry_bg: transparentize(lighten(desaturate(#241f31, 20%), 2%), 0.5); + $_gdm_entry_bg: darken($system_bg_color, 3%); background-color: $_gdm_entry_bg; - color: $osd_fg_color; + color: $fg_color; } } @@ -25,9 +25,9 @@ .modal-dialog-button { padding: 4px 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); - background-color: $_gdm_bg; - border-color: $_gdm_bg; - color: $fg_color; + background-color: darken($system_bg_color, 3%); + border-color: darken($system_bg_color, 3%); + color: $osd_fg_color; $_hover_c: lighten($_gdm_bg, 5%); &:hover, &:focus { @@ -44,7 +44,7 @@ @include button(insensitive); border-color: darken($_gdm_bg, 5%); background-color: darken($_gdm_bg, 5%); - color: transparentize($fg_color, 0.3); + color: transparentize($osd_fg_color, 0.3); } &:default { @include button(normal, $c:$selected_bg_color, $tc:$selected_fg_color); @@ -77,8 +77,8 @@ border-radius: 99px; width: $base_icon_size * 2; height: $base_icon_size * 2; - border-color: transparentize($bg_color,0.7); - background-color: transparentize($bg_color,0.7); + border-color: darken($system_bg_color, 3%); + background-color: darken($system_bg_color, 3%); StIcon { icon-size: $base_icon_size; } }