From: Matthias Clasen Date: Sat, 29 Apr 2023 11:58:42 +0000 (-0400) Subject: theme: Reinstate switch labels in hc X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~340^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=21260e8ed40c8e013194a7c258d89391f7662ff0;p=gtk4.git theme: Reinstate switch labels in hc 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. --- diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 26ff434aac..33b7172914 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -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);