docs: update component CSS variable names (#8857)

This commit is contained in:
neverland
2021-06-14 10:23:47 +08:00
committed by GitHub
parent 34a3fe8787
commit 8e3833acc8
122 changed files with 1755 additions and 1755 deletions
+16 -16
View File
@@ -268,23 +268,23 @@ export default {
### 样式变量
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| ----------------------------------------- | ------------------- | ---- |
| @popover-arrow-size | `6px` | - |
| @popover-border-radius | `@border-radius-lg` | - |
| @popover-action-width | `128px` | - |
| @popover-action-height | `44px` | - |
| @popover-action-font-size | `@font-size-md` | - |
| @popover-action-line-height | `@line-height-md` | - |
| @popover-action-icon-size | `20px` | - |
| @popover-light-text-color | `@text-color` | - |
| @popover-light-background-color | `@white` | - |
| @popover-light-action-disabled-text-color | `@gray-5` | - |
| @popover-dark-text-color | `@white` | - |
| @popover-dark-background-color | `#4a4a4a` | - |
| @popover-dark-action-disabled-text-color | `@gray-6` | - |
| 名称 | 默认值 | 描述 |
| ---------------------------------------------- | ------------------- | ---- |
| --van-popover-arrow-size | `6px` | - |
| --van-popover-border-radius | `@border-radius-lg` | - |
| --van-popover-action-width | `128px` | - |
| --van-popover-action-height | `44px` | - |
| --van-popover-action-font-size | `@font-size-md` | - |
| --van-popover-action-line-height | `@line-height-md` | - |
| --van-popover-action-icon-size | `20px` | - |
| --van-popover-light-text-color | `@text-color` | - |
| --van-popover-light-background-color | `@white` | - |
| --van-popover-light-action-disabled-text-color | `@gray-5` | - |
| --van-popover-dark-text-color | `@white` | - |
| --van-popover-dark-background-color | `#4a4a4a` | - |
| --van-popover-dark-action-disabled-text-color | `@gray-6` | - |
## 常见问题