feat(Switch): optimize animation timing function (#2159)

This commit is contained in:
neverland 2019-10-15 20:51:58 +08:00 committed by GitHub
parent c1c8979539
commit 07f223485d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@
.theme(height, '@switch-node-size');
.theme(background-color, '@switch-node-background-color');
.theme(box-shadow, '@switch-node-box-shadow');
.theme(transition, 'transform @switch-transition-duration');
.theme(transition, 'transform @switch-transition-duration cubic-bezier(.3, 1.05, .4, 1.05)');
}
&__loading {