File tree Expand file tree Collapse file tree 4 files changed +4
-12
lines changed
src/components/checkbox/themes/shared/switch Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ $theme: $bootstrap;
6565 border-color : var-get ($theme , ' border-on-hover-color' );
6666 }
6767
68- [part ~= ' thumb' ] {
69- background : var-get ($theme , ' border-hover-color' );
70- }
71-
7268 [part ~= ' thumb' ][part ~= ' checked' ] {
7369 background : var-get ($theme , ' thumb-on-color' );
7470 }
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ $theme: $material;
1414 [part ~= ' label' ] {
1515 color : var-get ($theme , ' label-hover-color' );
1616 }
17+
18+ [part ~= ' thumb' ]:not ([part ~= ' checked' ]) {
19+ background : var-get ($theme , ' thumb-off-hover-color' );
20+ }
1721}
1822
1923:host ([disabled ]),
Original file line number Diff line number Diff line change @@ -70,10 +70,6 @@ $theme: $fluent;
7070 border-color : var-get ($theme , ' border-on-hover-color' );
7171 }
7272
73- [part ~= ' thumb' ] {
74- background : var-get ($theme , ' border-hover-color' );
75- }
76-
7773 [part ~= ' thumb' ][part ~= ' checked' ] {
7874 background : var-get ($theme , ' thumb-on-color' );
7975 }
Original file line number Diff line number Diff line change @@ -24,10 +24,6 @@ $border-width: rem(1px);
2424 border-color : var-get ($theme , ' border-hover-color' );
2525 }
2626
27- [part ~= ' thumb' ]:not ([part ~= ' checked' ]) {
28- background : var-get ($theme , ' border-hover-color' );
29- }
30-
3127 [part ~= ' control' ][part ~= ' checked' ] {
3228 background : var-get ($theme , ' track-on-hover-color' );
3329 border-color : var-get ($theme , ' border-on-hover-color' );
You can’t perform that action at this time.
0 commit comments