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
+11 -11
View File
@@ -222,20 +222,20 @@ The component provides the following CSS variables, which can be used to customi
| --- | --- | --- |
| --van-dialog-width | `320px` | - |
| --van-dialog-small-screen-width | `90%` | - |
| --van-dialog-font-size | `@font-size-lg` | - |
| --van-dialog-transition | `@animation-duration-base` | - |
| --van-dialog-font-size | `var(--van-font-size-lg)` | - |
| --van-dialog-transition | `var(--van-animation-duration-base)` | - |
| --van-dialog-border-radius | `16px` | - |
| --van-dialog-background-color | `@white` | - |
| --van-dialog-header-font-weight | `@font-weight-bold` | - |
| --van-dialog-background-color | `var(--van-white)` | - |
| --van-dialog-header-font-weight | `var(--van-font-weight-bold)` | - |
| --van-dialog-header-line-height | `24px` | - |
| --van-dialog-header-padding-top | `26px` | - |
| --van-dialog-header-isolated-padding | `@padding-lg 0` | - |
| --van-dialog-message-padding | `@padding-lg` | - |
| --van-dialog-message-font-size | `@font-size-md` | - |
| --van-dialog-message-line-height | `@line-height-md` | - |
| --van-dialog-header-isolated-padding | `var(--van-padding-lg) 0` | - |
| --van-dialog-message-padding | `var(--van-padding-lg)` | - |
| --van-dialog-message-font-size | `var(--van-font-size-md)` | - |
| --van-dialog-message-line-height | `var(--van-line-height-md)` | - |
| --van-dialog-message-max-height | `60vh` | - |
| --van-dialog-has-title-message-text-color | `@gray-7` | - |
| --van-dialog-has-title-message-padding-top | `@padding-xs` | - |
| --van-dialog-has-title-message-text-color | `var(--van-gary-7)` | - |
| --van-dialog-has-title-message-padding-top | `var(--van-padding-xs)` | - |
| --van-dialog-button-height | `48px` | - |
| --van-dialog-round-button-height | `36px` | - |
| --van-dialog-confirm-button-text-color | `@red` | - |
| --van-dialog-confirm-button-text-color | `var(--van-red)` | - |
+11 -11
View File
@@ -257,23 +257,23 @@ export default {
| --- | --- | --- |
| --van-dialog-width | `320px` | - |
| --van-dialog-small-screen-width | `90%` | - |
| --van-dialog-font-size | `@font-size-lg` | - |
| --van-dialog-transition | `@animation-duration-base` | - |
| --van-dialog-font-size | `var(--van-font-size-lg)` | - |
| --van-dialog-transition | `var(--van-animation-duration-base)` | - |
| --van-dialog-border-radius | `16px` | - |
| --van-dialog-background-color | `@white` | - |
| --van-dialog-header-font-weight | `@font-weight-bold` | - |
| --van-dialog-background-color | `var(--van-white)` | - |
| --van-dialog-header-font-weight | `var(--van-font-weight-bold)` | - |
| --van-dialog-header-line-height | `24px` | - |
| --van-dialog-header-padding-top | `26px` | - |
| --van-dialog-header-isolated-padding | `@padding-lg 0` | - |
| --van-dialog-message-padding | `@padding-lg` | - |
| --van-dialog-message-font-size | `@font-size-md` | - |
| --van-dialog-message-line-height | `@line-height-md` | - |
| --van-dialog-header-isolated-padding | `var(--van-padding-lg) 0` | - |
| --van-dialog-message-padding | `var(--van-padding-lg)` | - |
| --van-dialog-message-font-size | `var(--van-font-size-md)` | - |
| --van-dialog-message-line-height | `var(--van-line-height-md)` | - |
| --van-dialog-message-max-height | `60vh` | - |
| --van-dialog-has-title-message-text-color | `@gray-7` | - |
| --van-dialog-has-title-message-padding-top | `@padding-xs` | - |
| --van-dialog-has-title-message-text-color | `var(--van-gary-7)` | - |
| --van-dialog-has-title-message-padding-top | `var(--van-padding-xs)` | - |
| --van-dialog-button-height | `48px` | - |
| --van-dialog-round-button-height | `36px` | - |
| --van-dialog-confirm-button-text-color | `@red` | - |
| --van-dialog-confirm-button-text-color | `var(--van-red)` | - |
## 常见问题