diff --git a/packages/style/var.less b/packages/style/var.less
index 48786d8c3..fcc01e45a 100644
--- a/packages/style/var.less
+++ b/packages/style/var.less
@@ -75,6 +75,23 @@
// Swipe
@swipe-indicator: 6px;
+// Switch
+@switch-width: 2em;
+@switch-height: 1em;
+@switch-node-size: 1em;
+@switch-node-z-index: 1;
+@switch-node-background-color: @white;
+@switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05);
+@switch-background-color: @white;
+@switch-on-background-color: @blue;
+@switch-transition-duration: .3s;
+@switch-disabled-opacity: .4;
+@switch-border: 1px solid rgba(0, 0, 0, .1);
+
+// SwitchCell
+@switch-cell-padding-top: 9px;
+@switch-cell-padding-bottom: 9px;
+
// Tab
@tabs-line-height: 44px;
@tabs-card-height: 30px;
diff --git a/packages/switch-cell/en-US.md b/packages/switch-cell/en-US.md
index 14cd07954..86d5c380b 100644
--- a/packages/switch-cell/en-US.md
+++ b/packages/switch-cell/en-US.md
@@ -56,7 +56,7 @@ use `loading` property to keep component in loading state
| title | the leftside title | `String` | `''` |
| loading | whether switch is loading | `Boolean` | `false` |
| disabled | whether to disable switch | `Boolean` | `false` |
-| size | Size of switch | `String` | `26px` |
+| size | Size of switch | `String` | `24px` |
### Event
diff --git a/packages/switch-cell/index.less b/packages/switch-cell/index.less
index 2df49b925..469230586 100644
--- a/packages/switch-cell/index.less
+++ b/packages/switch-cell/index.less
@@ -1,8 +1,8 @@
@import '../style/var';
.van-switch-cell {
- padding-top: 8px;
- padding-bottom: 8px;
+ padding-top: @switch-cell-padding-top;
+ padding-bottom: @switch-cell-padding-bottom;
.van-switch {
float: right;
diff --git a/packages/switch-cell/index.vue b/packages/switch-cell/index.vue
index c2408af78..2f7ffa937 100644
--- a/packages/switch-cell/index.vue
+++ b/packages/switch-cell/index.vue
@@ -31,7 +31,7 @@ export default create({
disabled: Boolean,
size: {
type: String,
- default: '26px'
+ default: '24px'
}
},
diff --git a/packages/switch-cell/test/__snapshots__/demo.spec.js.snap b/packages/switch-cell/test/__snapshots__/demo.spec.js.snap
index c0c42dba4..18438c901 100644
--- a/packages/switch-cell/test/__snapshots__/demo.spec.js.snap
+++ b/packages/switch-cell/test/__snapshots__/demo.spec.js.snap
@@ -10,7 +10,7 @@ exports[`renders demo correctly 1`] = `