From aa304ad22f2a5dea42b011b271b6abaa64aeb75f Mon Sep 17 00:00:00 2001 From: aisen Date: Thu, 24 Mar 2022 09:38:58 +0800 Subject: [PATCH] docs(SwipeCell): remove css variables document (#10429) --- packages/vant/src/swipe-cell/README.md | 13 ------------- packages/vant/src/swipe-cell/README.zh-CN.md | 12 ------------ 2 files changed, 25 deletions(-) diff --git a/packages/vant/src/swipe-cell/README.md b/packages/vant/src/swipe-cell/README.md index 0412568a8..4f1114499 100644 --- a/packages/vant/src/swipe-cell/README.md +++ b/packages/vant/src/swipe-cell/README.md @@ -169,16 +169,3 @@ const swipeCellRef = ref(); swipeCellRef.value?.close(); ``` - -## Theming - -### CSS Variables - -The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider). - -| Name | Default Value | Description | -| --- | --- | --- | -| --van-switch-cell-padding-top | _var(--van-cell-vertical-padding) - 1px_ | - | -| --van-switch-cell-padding-bottom | _var(--van-cell-vertical-padding) - 1px_ | - | -| --van-switch-cell-large-padding-top | _var(--van-cell-large-vertical-padding) - 1px_ | - | -| --van-switch-cell-large-padding-bottom | _var(--van-cell-large-vertical-padding) - 1px_ | - | diff --git a/packages/vant/src/swipe-cell/README.zh-CN.md b/packages/vant/src/swipe-cell/README.zh-CN.md index 42a3305d9..10c2601c1 100644 --- a/packages/vant/src/swipe-cell/README.zh-CN.md +++ b/packages/vant/src/swipe-cell/README.zh-CN.md @@ -179,18 +179,6 @@ const swipeCellRef = ref(); swipeCellRef.value?.close(); ``` -## 主题定制 - -### 样式变量 - -组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。 - -| 名称 | 默认值 | 描述 | -| --- | --- | --- | -| --van-switch-cell-padding-top | _var(--van-cell-vertical-padding) - 1px_ | - | -| --van-switch-cell-padding-bottom | _var(--van-cell-vertical-padding) - 1px_ | - | -| --van-switch-cell-large-padding-top | _var(--van-cell-large-vertical-padding) - 1px_ | - | -| --van-switch-cell-large-padding-bottom | _var(--van-cell-large-vertical-padding) - 1px_ | - | ## 常见问题