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
+12 -12
View File
@@ -219,18 +219,18 @@ The component provides the following CSS variables, which can be used to customi
| Name | Default Value | Description |
| --- | --- | --- |
| --van-share-sheet-header-padding | `@padding-sm @padding-md @padding-base` | - |
| --van-share-sheet-title-color | `@text-color` | - |
| --van-share-sheet-title-font-size | `@font-size-md` | - |
| --van-share-sheet-title-line-height | `@line-height-md` | - |
| --van-share-sheet-description-color | `@gray-6` | - |
| --van-share-sheet-description-font-size | `@font-size-sm` | - |
| --van-share-sheet-header-padding | `var(--van-padding-sm) var(--van-padding-md) var(--van-padding-base)` | - |
| --van-share-sheet-title-color | `var(--van-text-color)` | - |
| --van-share-sheet-title-font-size | `var(--van-font-size-md)` | - |
| --van-share-sheet-title-line-height | `var(--van-line-height-md)` | - |
| --van-share-sheet-description-color | `var(--van-gary-6)` | - |
| --van-share-sheet-description-font-size | `var(--van-font-size-sm)` | - |
| --van-share-sheet-description-line-height | `16px` | - |
| --van-share-sheet-icon-size | `48px` | - |
| --van-share-sheet-option-name-color | `@gray-7` | - |
| --van-share-sheet-option-name-font-size | `@font-size-sm` | - |
| --van-share-sheet-option-description-color | `@gray-5` | - |
| --van-share-sheet-option-description-font-size | `@font-size-sm` | - |
| --van-share-sheet-cancel-button-font-size | `@font-size-lg` | - |
| --van-share-sheet-option-name-color | `var(--van-gary-7)` | - |
| --van-share-sheet-option-name-font-size | `var(--van-font-size-sm)` | - |
| --van-share-sheet-option-description-color | `var(--van-gary-5)` | - |
| --van-share-sheet-option-description-font-size | `var(--van-font-size-sm)` | - |
| --van-share-sheet-cancel-button-font-size | `var(--van-font-size-lg)` | - |
| --van-share-sheet-cancel-button-height | `48px` | - |
| --van-share-sheet-cancel-button-background | `@white` | - |
| --van-share-sheet-cancel-button-background | `var(--van-white)` | - |
+12 -12
View File
@@ -233,21 +233,21 @@ export default {
| 名称 | 默认值 | 描述 |
| --- | --- | --- |
| --van-share-sheet-header-padding | `@padding-sm @padding-md @padding-base` | - |
| --van-share-sheet-title-color | `@text-color` | - |
| --van-share-sheet-title-font-size | `@font-size-md` | - |
| --van-share-sheet-title-line-height | `@line-height-md` | - |
| --van-share-sheet-description-color | `@gray-6` | - |
| --van-share-sheet-description-font-size | `@font-size-sm` | - |
| --van-share-sheet-header-padding | `var(--van-padding-sm) var(--van-padding-md) var(--van-padding-base)` | - |
| --van-share-sheet-title-color | `var(--van-text-color)` | - |
| --van-share-sheet-title-font-size | `var(--van-font-size-md)` | - |
| --van-share-sheet-title-line-height | `var(--van-line-height-md)` | - |
| --van-share-sheet-description-color | `var(--van-gary-6)` | - |
| --van-share-sheet-description-font-size | `var(--van-font-size-sm)` | - |
| --van-share-sheet-description-line-height | `16px` | - |
| --van-share-sheet-icon-size | `48px` | - |
| --van-share-sheet-option-name-color | `@gray-7` | - |
| --van-share-sheet-option-name-font-size | `@font-size-sm` | - |
| --van-share-sheet-option-description-color | `@gray-5` | - |
| --van-share-sheet-option-description-font-size | `@font-size-sm` | - |
| --van-share-sheet-cancel-button-font-size | `@font-size-lg` | - |
| --van-share-sheet-option-name-color | `var(--van-gary-7)` | - |
| --van-share-sheet-option-name-font-size | `var(--van-font-size-sm)` | - |
| --van-share-sheet-option-description-color | `var(--van-gary-5)` | - |
| --van-share-sheet-option-description-font-size | `var(--van-font-size-sm)` | - |
| --van-share-sheet-cancel-button-font-size | `var(--van-font-size-lg)` | - |
| --van-share-sheet-cancel-button-height | `48px` | - |
| --van-share-sheet-cancel-button-background | `@white` | - |
| --van-share-sheet-cancel-button-background | `var(--van-white)` | - |
## 常见问题