[gnome-shell/gnome-40] theme: Fix high-contrast switches



commit 587afc141a2597a77034b7472f40b6dd8dbc4b67
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Oct 6 18:51:03 2021 +0200

    theme: Fix high-contrast switches
    
    Commit 9d6fcfdc8506 dropped the different us/intl switches, but
    the high-contrast theme was left out at the time (and therefore
    ends up with the regular assets now).
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4672
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2000>
    (cherry picked from commit 2dcbf5f33bf7662445733b3cf0612b63e612b0db)

 data/theme/gnome-shell-high-contrast.scss | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gnome-shell-high-contrast.scss b/data/theme/gnome-shell-high-contrast.scss
index a6a5314cf2..2f7f9da3f6 100644
--- a/data/theme/gnome-shell-high-contrast.scss
+++ b/data/theme/gnome-shell-high-contrast.scss
@@ -11,9 +11,9 @@ stage {
 }
 
 .toggle-switch { width: 48px; }
-.toggle-switch-us, .toggle-switch-intl {
-       background-image: url("resource:///org/gnome/shell/theme/toggle-off-hc.svg");
-       &:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-hc.svg"); }
+.toggle-switch {
+  background-image: url("resource:///org/gnome/shell/theme/toggle-off-hc.svg");
+  &:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-hc.svg"); }
 }
 
 //force opaque panel


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