@@ -78,11 +78,11 @@ $_mat-slots: (tokens-mat-switch.$prefix, tokens-mat-switch.get-token-slots());
78
78
}
79
79
80
80
& ::before {
81
- transition : transform 75 ms 0ms cubic-bezier (0 , 0 , 0.2 , 1 );
81
+ transition : transform 300 ms 0ms cubic-bezier (0 , 0 , 0.2 , 1 );
82
82
transform : translateX (0 );
83
83
84
84
.mdc-switch--selected & {
85
- transition : transform 75 ms 0ms cubic-bezier (0.4 , 0 , 0.6 , 1 );
85
+ transition : transform 300 ms 0ms cubic-bezier (0.4 , 0 , 0.6 , 1 );
86
86
transform : translateX (100% );
87
87
88
88
[dir = ' rtl' ] .mdc-switch--selected & {
@@ -173,7 +173,7 @@ $_mat-slots: (tokens-mat-switch.$prefix, tokens-mat-switch.get-token-slots());
173
173
pointer-events : none ;
174
174
position : absolute ;
175
175
top : 0 ;
176
- transition : transform 75 ms 0ms cubic-bezier (0.4 , 0 , 0.2 , 1 );
176
+ transition : transform 300 ms 0ms cubic-bezier (0.4 , 0 , 0.2 , 1 );
177
177
left : 0 ;
178
178
right : auto ;
179
179
transform : translateX (0 );
@@ -208,9 +208,9 @@ $_mat-slots: (tokens-mat-switch.$prefix, tokens-mat-switch.get-token-slots());
208
208
// Used for M3 animations. Does not affect the M2 slide-toggle
209
209
// because the width and height are static, and the margin is unused.
210
210
transition :
211
- width 75 ms cubic-bezier (0.4 , 0 , 0.2 , 1 ),
212
- height 75 ms cubic-bezier (0.4 , 0 , 0.2 , 1 ),
213
- margin 75 ms cubic-bezier (0.4 , 0 , 0.2 , 1 );
211
+ width 300 ms cubic-bezier (0.4 , 0 , 0.2 , 1 ),
212
+ height 300 ms cubic-bezier (0.4 , 0 , 0.2 , 1 ),
213
+ margin 300 ms cubic-bezier (0.4 , 0 , 0.2 , 1 );
214
214
215
215
[dir = ' rtl' ] & {
216
216
left : auto ;
0 commit comments