docs: update component CSS variable names (#8857)
This commit is contained in:
@@ -136,13 +136,13 @@ Use slots to custom tips.
|
||||
| loading | Content of head when at loading | { distance } |
|
||||
| success | Content of head when succeed | - |
|
||||
|
||||
### Less Variables
|
||||
### CSS Variables
|
||||
|
||||
How to use: [Custom Theme](#/en-US/theme).
|
||||
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 |
|
||||
| ------------------------------- | --------------- | ----------- |
|
||||
| @pull-refresh-head-height | `50px` | - |
|
||||
| @pull-refresh-head-font-size | `@font-size-md` | - |
|
||||
| @pull-refresh-head-text-color | `@gray-6` | - |
|
||||
| @pull-refresh-loading-icon-size | `16px` | - |
|
||||
| Name | Default Value | Description |
|
||||
| ------------------------------------ | --------------- | ----------- |
|
||||
| --van-pull-refresh-head-height | `50px` | - |
|
||||
| --van-pull-refresh-head-font-size | `@font-size-md` | - |
|
||||
| --van-pull-refresh-head-text-color | `@gray-6` | - |
|
||||
| --van-pull-refresh-loading-icon-size | `16px` | - |
|
||||
|
||||
@@ -141,14 +141,14 @@ export default {
|
||||
|
||||
### 样式变量
|
||||
|
||||
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
|
||||
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
|
||||
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| ------------------------------- | --------------- | ---- |
|
||||
| @pull-refresh-head-height | `50px` | - |
|
||||
| @pull-refresh-head-font-size | `@font-size-md` | - |
|
||||
| @pull-refresh-head-text-color | `@gray-6` | - |
|
||||
| @pull-refresh-loading-icon-size | `16px` | - |
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| ------------------------------------ | --------------- | ---- |
|
||||
| --van-pull-refresh-head-height | `50px` | - |
|
||||
| --van-pull-refresh-head-font-size | `@font-size-md` | - |
|
||||
| --van-pull-refresh-head-text-color | `@gray-6` | - |
|
||||
| --van-pull-refresh-loading-icon-size | `16px` | - |
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
||||
Reference in New Issue
Block a user