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
+13 -13
View File
@@ -206,22 +206,22 @@ export default {
### 样式变量
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| --- | --- | --- |
| @dropdown-menu-height | `48px` | - |
| @dropdown-menu-background-color | `@white` | - |
| @dropdown-menu-box-shadow | `0 2px 12px fade(@gray-7, 12)` | - |
| @dropdown-menu-title-font-size | `15px` | - |
| @dropdown-menu-title-text-color | `@text-color` | - |
| @dropdown-menu-title-active-text-color | `@red` | - |
| @dropdown-menu-title-disabled-text-color | `@gray-6` | - |
| @dropdown-menu-title-padding | `0 @padding-xs` | - |
| @dropdown-menu-title-line-height | `@line-height-lg` | - |
| @dropdown-menu-option-active-color | `@red` | - |
| @dropdown-menu-content-max-height | `80%` | - |
| @dropdown-item-z-index | `10` | - |
| --van-dropdown-menu-height | `48px` | - |
| --van-dropdown-menu-background-color | `@white` | - |
| --van-dropdown-menu-box-shadow | `0 2px 12px fade(@gray-7, 12)` | - |
| --van-dropdown-menu-title-font-size | `15px` | - |
| --van-dropdown-menu-title-text-color | `@text-color` | - |
| --van-dropdown-menu-title-active-text-color | `@red` | - |
| --van-dropdown-menu-title-disabled-text-color | `@gray-6` | - |
| --van-dropdown-menu-title-padding | `0 @padding-xs` | - |
| --van-dropdown-menu-title-line-height | `@line-height-lg` | - |
| --van-dropdown-menu-option-active-color | `@red` | - |
| --van-dropdown-menu-content-max-height | `80%` | - |
| --van-dropdown-item-z-index | `10` | - |
## 常见问题