docs: update component css vars value

This commit is contained in:
chenjiahan
2021-06-14 11:13:38 +08:00
committed by neverland
parent 8e3833acc8
commit b3cc75dcbd
119 changed files with 1309 additions and 1308 deletions
+7 -7
View File
@@ -207,14 +207,14 @@ The component provides the following CSS variables, which can be used to customi
| Name | Default Value | Description |
| --- | --- | --- |
| --van-dropdown-menu-height | `48px` | - |
| --van-dropdown-menu-background-color | `@white` | - |
| --van-dropdown-menu-background-color | `var(--van-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-title-text-color | `var(--van-text-color)` | - |
| --van-dropdown-menu-title-active-text-color | `var(--van-red)` | - |
| --van-dropdown-menu-title-disabled-text-color | `var(--van-gary-6)` | - |
| --van-dropdown-menu-title-padding | `0 var(--van-padding-xs)` | - |
| --van-dropdown-menu-title-line-height | `var(--van-line-height-lg)` | - |
| --van-dropdown-menu-option-active-color | `var(--van-red)` | - |
| --van-dropdown-menu-content-max-height | `80%` | - |
| --van-dropdown-item-z-index | `10` | - |
+7 -7
View File
@@ -211,15 +211,15 @@ export default {
| 名称 | 默认值 | 描述 |
| --- | --- | --- |
| --van-dropdown-menu-height | `48px` | - |
| --van-dropdown-menu-background-color | `@white` | - |
| --van-dropdown-menu-background-color | `var(--van-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-title-text-color | `var(--van-text-color)` | - |
| --van-dropdown-menu-title-active-text-color | `var(--van-red)` | - |
| --van-dropdown-menu-title-disabled-text-color | `var(--van-gary-6)` | - |
| --van-dropdown-menu-title-padding | `0 var(--van-padding-xs)` | - |
| --van-dropdown-menu-title-line-height | `var(--van-line-height-lg)` | - |
| --van-dropdown-menu-option-active-color | `var(--van-red)` | - |
| --van-dropdown-menu-content-max-height | `80%` | - |
| --van-dropdown-item-z-index | `10` | - |