[libadwaita/wip/exalm/switch-text: 2/2] stylesheet: Reenable switch icons for HighContrast
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/switch-text: 2/2] stylesheet: Reenable switch icons for HighContrast
- Date: Tue, 4 May 2021 14:01:45 +0000 (UTC)
commit e39d9f7feda1733364e0d5a4ad79ca0fdbff8d74
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]