docs: update component CSS variable names (#8857)

This commit is contained in:
neverland
2021-06-14 10:23:47 +08:00
committed by GitHub
parent 34a3fe8787
commit 8e3833acc8
122 changed files with 1755 additions and 1755 deletions
+11 -11
View File
@@ -83,18 +83,18 @@ app.use(Progress);
### 样式变量
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| -------------------------------- | --------------- | ---- |
| @progress-height | `4px` | - |
| @progress-color | `@blue` | - |
| @progress-background-color | `@gray-3` | - |
| @progress-pivot-padding | `0 5px` | - |
| @progress-pivot-text-color | `@white` | - |
| @progress-pivot-font-size | `@font-size-xs` | - |
| @progress-pivot-line-height | `1.6` | - |
| @progress-pivot-background-color | `@blue` | - |
| 名称 | 默认值 | 描述 |
| ------------------------------------- | --------------- | ---- |
| --van-progress-height | `4px` | - |
| --van-progress-color | `@blue` | - |
| --van-progress-background-color | `@gray-3` | - |
| --van-progress-pivot-padding | `0 5px` | - |
| --van-progress-pivot-text-color | `@white` | - |
| --van-progress-pivot-font-size | `@font-size-xs` | - |
| --van-progress-pivot-line-height | `1.6` | - |
| --van-progress-pivot-background-color | `@blue` | - |
## 常见问题