diff options
Diffstat (limited to 'data/theme/gnome-shell-sass/widgets/_check-box.scss')
-rw-r--r-- | data/theme/gnome-shell-sass/widgets/_check-box.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/data/theme/gnome-shell-sass/widgets/_check-box.scss b/data/theme/gnome-shell-sass/widgets/_check-box.scss index f18d6418c..956a59ee5 100644 --- a/data/theme/gnome-shell-sass/widgets/_check-box.scss +++ b/data/theme/gnome-shell-sass/widgets/_check-box.scss @@ -11,7 +11,7 @@ &:focus StBin { // Trick due to St limitations. It needs a background to draw a box-shadow background-color: rgba(0, 0, 0, 0.01); - box-shadow: inset 0 0 0 2px transparentize($selected_bg_color, .65); + box-shadow: inset 0 0 0 2px st-transparentize(-st-accent-color, .65); } StIcon { @@ -32,18 +32,18 @@ } &:checked StIcon { - background-color: $selected_bg_color; - color: $selected_fg_color; + background-color: -st-accent-color; + color: -st-accent-fg-color; border-color: transparent; } &:checked:hover StIcon { - background-color: lighten($selected_bg_color, 5%); - color: lighten($selected_fg_color, 5%); + background-color: st-lighten(-st-accent-color, 5%); + color: st-lighten(-st-accent-fg-color, 5%); } &:checked:active StIcon { - background-color: darken($selected_bg_color, 7%); - color: darken($selected_fg_color, 7%); + background-color: st-darken(-st-accent-color, 7%); + color: st-darken(-st-accent-fg-color, 7%); } } |