summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2021-03-09 20:22:37 +0100
committerJakub Steiner <jimmac@gmail.com>2021-03-09 20:38:29 +0100
commit13bb8bb09850e2b23cd4ded674ab6b671e5471dc (patch)
tree9266d378fdfe91ce1b06b8525dc2b9ec9dabda4e
parent59b97a30958663c2beefc29800e8ce8f7b107f2d (diff)
downloadgnome-shell-wip/jimmac/login-back-button.tar.gz
styling: Update for darker system greywip/jimmac/login-back-button
- 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
-rw-r--r--data/theme/gnome-shell-sass/widgets/_login-dialog.scss18
1 files 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; }
}