docs: fix missing variable values

This commit is contained in:
chenjiahan 2021-06-14 11:02:46 +08:00 committed by neverland
parent b3cc75dcbd
commit 9b5882b8c3
10 changed files with 10 additions and 10 deletions

View File

@ -360,7 +360,7 @@ The component provides the following CSS variables, which can be used to customi
| --van-calendar-weekdays-height | `30px` | - |
| --van-calendar-weekdays-font-size | `var(--van-font-size-sm)` | - |
| --van-calendar-month-title-font-size | `var(--van-font-size-md)` | - |
| --van-calendar-month-mark-color | `fade(@gray-2, 80%)` | - |
| --van-calendar-month-mark-color | `fade(var(--van-gray-2), 80%)` | - |
| --van-calendar-month-mark-font-size | `160px` | - |
| --van-calendar-day-height | `64px` | - |
| --van-calendar-day-font-size | `var(--van-font-size-lg)` | - |

View File

@ -366,7 +366,7 @@ export default {
| --van-calendar-weekdays-height | `30px` | - |
| --van-calendar-weekdays-font-size | `var(--van-font-size-sm)` | - |
| --van-calendar-month-title-font-size | `var(--van-font-size-md)` | - |
| --van-calendar-month-mark-color | `fade(@gray-2, 80%)` | - |
| --van-calendar-month-mark-color | `fade(var(--van-gray-2), 80%)` | - |
| --van-calendar-month-mark-font-size | `160px` | - |
| --van-calendar-day-height | `64px` | - |
| --van-calendar-day-font-size | `var(--van-font-size-lg)` | - |

View File

@ -208,7 +208,7 @@ The component provides the following CSS variables, which can be used to customi
| --- | --- | --- |
| --van-dropdown-menu-height | `48px` | - |
| --van-dropdown-menu-background-color | `var(--van-white)` | - |
| --van-dropdown-menu-box-shadow | `0 2px 12px fade(@gray-7, 12)` | - |
| --van-dropdown-menu-box-shadow | `0 2px 12px fade(var(--van-gray-7), 12)` | - |
| --van-dropdown-menu-title-font-size | `15px` | - |
| --van-dropdown-menu-title-text-color | `var(--van-text-color)` | - |
| --van-dropdown-menu-title-active-text-color | `var(--van-red)` | - |

View File

@ -212,7 +212,7 @@ export default {
| --- | --- | --- |
| --van-dropdown-menu-height | `48px` | - |
| --van-dropdown-menu-background-color | `var(--van-white)` | - |
| --van-dropdown-menu-box-shadow | `0 2px 12px fade(@gray-7, 12)` | - |
| --van-dropdown-menu-box-shadow | `0 2px 12px fade(var(--van-gray-7), 12)` | - |
| --van-dropdown-menu-title-font-size | `15px` | - |
| --van-dropdown-menu-title-text-color | `var(--van-text-color)` | - |
| --van-dropdown-menu-title-active-text-color | `var(--van-red)` | - |

View File

@ -218,7 +218,7 @@ The component provides the following CSS variables, which can be used to customi
| --van-image-preview-index-text-color | `var(--van-white)` | - |
| --van-image-preview-index-font-size | `var(--van-font-size-md)` | - |
| --van-image-preview-index-line-height | `var(--van-line-height-md)` | - |
| --van-image-preview-index-text-shadow | `0 1px 1px @gray-8` | - |
| --van-image-preview-index-text-shadow | `0 1px 1px var(--van-gray-8)` | - |
| --van-image-preview-overlay-background-color | `rgba(0, 0, 0, 0.9)` | - |
| --van-image-preview-close-icon-size | `22px` | - |
| --van-image-preview-close-icon-color | `var(--van-gary-5)` | - |

View File

@ -255,7 +255,7 @@ export default {
| --van-image-preview-index-text-color | `var(--van-white)` | - |
| --van-image-preview-index-font-size | `var(--van-font-size-md)` | - |
| --van-image-preview-index-line-height | `var(--van-line-height-md)` | - |
| --van-image-preview-index-text-shadow | `0 1px 1px @gray-8` | - |
| --van-image-preview-index-text-shadow | `0 1px 1px var(--van-gray-8)` | - |
| --van-image-preview-overlay-background-color | `rgba(0, 0, 0, 0.9)` | - |
| --van-image-preview-close-icon-size | `22px` | - |
| --van-image-preview-close-icon-color | `var(--van-gary-5)` | - |

View File

@ -187,7 +187,7 @@ The component provides the following CSS variables, which can be used to customi
| --van-toast-loading-icon-color | `var(--van-white)` | - |
| --van-toast-line-height | `var(--van-line-height-md)` | - |
| --van-toast-border-radius | `var(--van-border-radius-lg)` | - |
| --van-toast-background-color | `fade(@black, 70%)` | - |
| --van-toast-background-color | `fade(var(--van-black), 70%)` | - |
| --van-toast-icon-size | `36px` | - |
| --van-toast-text-min-width | `96px` | - |
| --van-toast-text-padding | `var(--van-padding-xs) var(--van-padding-sm)` | - |

View File

@ -198,7 +198,7 @@ Toast.resetDefaultOptions('loading');
| --van-toast-loading-icon-color | `var(--van-white)` | - |
| --van-toast-line-height | `var(--van-line-height-md)` | - |
| --van-toast-border-radius | `var(--van-border-radius-lg)` | - |
| --van-toast-background-color | `fade(@black, 70%)` | - |
| --van-toast-background-color | `fade(var(--van-black), 70%)` | - |
| --van-toast-icon-size | `36px` | - |
| --van-toast-text-min-width | `96px` | - |
| --van-toast-text-padding | `var(--van-padding-xs) var(--van-padding-sm)` | - |

View File

@ -380,7 +380,7 @@ The component provides the following CSS variables, which can be used to customi
| --van-uploader-file-name-font-size | `var(--van-font-size-sm)` | - |
| --van-uploader-file-name-text-color | `var(--van-gary-7)` | - |
| --van-uploader-mask-text-color | `var(--van-white)` | - |
| --van-uploader-mask-background-color | `fade(@gray-8, 88%)` | - |
| --van-uploader-mask-background-color | `fade(var(--van-gray-8), 88%)` | - |
| --van-uploader-mask-icon-size | `22px` | - |
| --van-uploader-mask-message-font-size | `var(--van-font-size-sm)` | - |
| --van-uploader-mask-message-line-height | `var(--van-line-height-xs)` | - |

View File

@ -405,7 +405,7 @@ before-read、after-read、before-delete 执行时会传递以下回调参数:
| --van-uploader-file-name-font-size | `var(--van-font-size-sm)` | - |
| --van-uploader-file-name-text-color | `var(--van-gary-7)` | - |
| --van-uploader-mask-text-color | `var(--van-white)` | - |
| --van-uploader-mask-background-color | `fade(@gray-8, 88%)` | - |
| --van-uploader-mask-background-color | `fade(var(--van-gray-8), 88%)` | - |
| --van-uploader-mask-icon-size | `22px` | - |
| --van-uploader-mask-message-font-size | `var(--van-font-size-sm)` | - |
| --van-uploader-mask-message-line-height | `var(--van-line-height-xs)` | - |