File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 19
19
display : block ;
20
20
height : inherit ;
21
21
cursor : pointer ;
22
- background-color : $white ;
23
- border : $border-width solid $border-color ;
22
+ border : $border-width solid ;
24
23
transition : .15s ease-out ;
25
24
@include border-radius ($border-radius );
26
25
26
+ @include themes ($form-theme-map ) {
27
+ background-color : themes-get-value (" input-bg" );
28
+ border-color : themes-get-value (" input-border-color" );
29
+ }
30
+
27
31
& ::before {
28
32
position : absolute ;
29
33
top : $switch-handle-margin ;
Original file line number Diff line number Diff line change 56
56
57
57
@mixin switch-outline-variant ($color ) {
58
58
.c-switch-input :checked + .c-switch-slider {
59
- background-color : $white ;
59
+ background-color : inherit ;
60
60
border-color : $color ;
61
61
62
62
& ::before {
70
70
71
71
@mixin switch-opposite-variant ($color ) {
72
72
.c-switch-input :checked + .c-switch-slider {
73
- background-color : $white ;
73
+ background-color : inherit ;
74
74
border-color : $color ;
75
75
76
76
& ::before {
You can’t perform that action at this time.
0 commit comments