From 08610c9a89445d3319ff1344d01cc818b4de7ee8 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Thu, 8 Sep 2022 11:43:50 +0200 Subject: [PATCH] classic: Make login entries legible - hardcoded color hotfix for 43. A more systemic approach discussed below See https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/410 Part-of: --- data/theme/gnome-shell-sass/widgets/_login-dialog.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)); } }