[libadwaita/wip/exalm/switch-text] stylesheet: Reenable switch icons for HighContrast




commit 2d98527c57004c142c6cdc7ecd57205cd890a225
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue May 4 14:21:04 2021 +0500

    stylesheet: Reenable switch icons for HighContrast
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/123

 src/stylesheet/widgets/_switch.scss | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_switch.scss b/src/stylesheet/widgets/_switch.scss
index 6e04957..b28db6e 100644
--- a/src/stylesheet/widgets/_switch.scss
+++ b/src/stylesheet/widgets/_switch.scss
@@ -34,7 +34,10 @@ switch {
     transition: $button_transition;
   }
 
-  > image { color: transparent; } /* only show i / o for the accessible theme */
+  /* only show i / o for the accessible theme */
+  @if $contrast == 'normal' {
+    > image { color: transparent; }
+  }
 
   &:hover > slider {
     @include button(hover);


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