浏览代码

chore: update switch token descripton

chore: update switch token descripton
代强 2 年之前
父节点
当前提交
2faf2c8f63
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/semi-foundation/switch/variables.scss

+ 1 - 1
packages/semi-foundation/switch/variables.scss

@@ -1,5 +1,5 @@
 // Other
 // Other
-$spacing-switch_unchecked-translateX: 2px; // 未选中开关右侧偏移量 - 动画用
+$spacing-switch_unchecked-translateX: 2px; // 未选中开关右侧偏移量
 $motion-switch_spin_unchecked-translateX: 2px; // 未选中开关加载图标右侧偏移量 - 动画用
 $motion-switch_spin_unchecked-translateX: 2px; // 未选中开关加载图标右侧偏移量 - 动画用
 $motion-switch_checked-translateX: 18px; // 选中开关右侧偏移量
 $motion-switch_checked-translateX: 18px; // 选中开关右侧偏移量
 $motion-switch_spin_checked-translateX: 16px; // 选中开关加载图标右侧偏移量
 $motion-switch_spin_checked-translateX: 16px; // 选中开关加载图标右侧偏移量