theme: Reinstate switch labels in hc
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Apr 2023 11:58:42 +0000 (07:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 29 Apr 2023 12:01:03 +0000 (08:01 -0400)
Since we show them in GNOME shell, show them here too.

The comment that says "only show these in the a11y
theme" was still there, but we were always hiding them.

gtk/theme/Default/_common.scss

index 26ff434aacb9a34eb33ab76a561deb54ca1027de..33b7172914d5e27c3896fa706a013b53739f5873 100644 (file)
@@ -2482,7 +2482,9 @@ switch {
     transition: $button_transition;
   }
 
-  > image { color: transparent; } /* only show i / o for the accessible theme */
+  @if $contrast != 'high' {
+    > image { color: transparent; } /* only show i / o for the accessible theme */
+  }
 
   &:hover > slider {
     @include button(hover);