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
+9 -9
View File
@@ -118,12 +118,12 @@ app.use(Lazyload);
The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
| Name | Default Value | Description |
| ---------------------------------------- | ------------------- | ----------- |
| --van-image-placeholder-text-color | `@gray-6` | - |
| --van-image-placeholder-font-size | `@font-size-md` | - |
| --van-image-placeholder-background-color | `@background-color` | - |
| --van-image-loading-icon-size | `32px` | - |
| --van-image-loading-icon-color | `@gray-4` | - |
| --van-image-error-icon-size | `32px` | - |
| --van-image-error-icon-color | `@gray-4` | - |
| Name | Default Value | Description |
| --- | --- | --- |
| --van-image-placeholder-text-color | `var(--van-gary-6)` | - |
| --van-image-placeholder-font-size | `var(--van-font-size-md)` | - |
| --van-image-placeholder-background-color | `var(--van-background-color)` | - |
| --van-image-loading-icon-size | `32px` | - |
| --van-image-loading-icon-color | `var(--van-gary-4)` | - |
| --van-image-error-icon-size | `32px` | - |
| --van-image-error-icon-color | `var(--van-gary-4)` | - |
+9 -9
View File
@@ -146,15 +146,15 @@ app.use(Lazyload);
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| ---------------------------------------- | ------------------- | ---- |
| --van-image-placeholder-text-color | `@gray-6` | - |
| --van-image-placeholder-font-size | `@font-size-md` | - |
| --van-image-placeholder-background-color | `@background-color` | - |
| --van-image-loading-icon-size | `32px` | - |
| --van-image-loading-icon-color | `@gray-4` | - |
| --van-image-error-icon-size | `32px` | - |
| --van-image-error-icon-color | `@gray-4` | - |
| 名称 | 默认值 | 描述 |
| --- | --- | --- |
| --van-image-placeholder-text-color | `var(--van-gary-6)` | - |
| --van-image-placeholder-font-size | `var(--van-font-size-md)` | - |
| --van-image-placeholder-background-color | `var(--van-background-color)` | - |
| --van-image-loading-icon-size | `32px` | - |
| --van-image-loading-icon-color | `var(--van-gary-4)` | - |
| --van-image-error-icon-size | `32px` | - |
| --van-image-error-icon-color | `var(--van-gary-4)` | - |
## 常见问题