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




commit 0060cd3835c5ece508c4457df0c8f8f45480db34
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

 data/theme/gnome-shell-sass/widgets/_login-dialog.scss | 9 +++++----
 1 file changed, 5 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..9960a8ca21 100644
--- a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss
+++ b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss
@@ -183,12 +183,13 @@
 .unlock-dialog {
   StEntry {
     border:none !important;
-    &:focus { 
-      background-color: transparentize($fg_color, 0.9);
+    &:focus {
+      color: white;
+      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]