File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
projects/igniteui-angular/src/lib/core/styles/components/switch Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 130130 %switch-composite--hover {
131131 border-color : var-get ($theme , ' border-hover-color' );
132132
133- @if $variant != ' material' {
134- %switch-thumb {
135- background : var-get ($theme , ' thumb-off-hover-color' );
136- }
133+ %switch-thumb {
134+ background : var-get ($theme , ' thumb-off-hover-color' );
135+ }
137136
138- %switch-thumb--x {
139- background : var-get ($theme , ' thumb-on-color' );
140- }
137+ %switch-thumb--x {
138+ background : var-get ($theme , ' thumb-on-color' );
141139 }
142140 }
143141
153151 background : var-get ($theme , ' track-on-hover-color' );
154152 border-color : var-get ($theme , ' border-on-hover-color' );
155153
156- @if $variant != ' material' {
157- %switch-thumb {
158- background : var-get ($theme , ' thumb-on-color' );
159- }
154+ %switch-thumb {
155+ background : var-get ($theme , ' thumb-on-color' );
160156 }
161157 }
162158
259255
260256 @if $variant == ' indigo' {
261257 %switch-composite {
262- border-radius : var-get ($theme , ' border-radius-thumb' );
263258 box-shadow : 0 0 0 rem (3px ) var-get ($theme , ' focus-outline-color' );
264259 }
265260 }
You can’t perform that action at this time.
0 commit comments