[gnome-shell/wip/jimmac/classic-lockscreen-entry-hotfix-43] classic: Make login entries legible




commit 08610c9a89445d3319ff1344d01cc818b4de7ee8
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Sep 8 11:43:50 2022 +0200

    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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2477>

 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 23456be587..208165d127 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));
     }
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]