diff --git a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss index 23456be58..208165d12 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss @@ -183,12 +183,12 @@ .unlock-dialog { StEntry { border:none !important; - &:focus { - background-color: transparentize($fg_color, 0.9); + &:focus { + background-color: if($variant == 'light', transparentize(white, 0.9), transparentize($fg_color, 0.9)); } &:insensitive { - color: transparentize($fg_color, 0.5); - background-color: transparentize($fg_color, 0.95); + color: if($variant == 'light', transparentize(white, 0.5), transparentize($fg_color, 0.5)); + background-color: if($variant == 'light', transparentize(white, 0.95), transparentize($fg_color, 0.95)); } }