docs: fix missing variable values

This commit is contained in:
chenjiahan
2021-06-14 11:13:38 +08:00
committed by neverland
parent b3cc75dcbd
commit 9b5882b8c3
10 changed files with 10 additions and 10 deletions
+1 -1
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)` | - |
+1 -1
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)` | - |