docs: display all less variables (#7604)
This commit is contained in:
@@ -168,6 +168,27 @@ export default {
|
||||
| focus | 输入框聚焦时触发 | _event: Event_ |
|
||||
| blur | 输入框失焦时触发 | _event: Event_ |
|
||||
|
||||
### 样式变量
|
||||
|
||||
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
|
||||
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| ---------------------------------------- | ------------------- | ---- |
|
||||
| @stepper-active-color | `#e8e8e8` | - |
|
||||
| @stepper-background-color | `@active-color` | - |
|
||||
| @stepper-button-icon-color | `@text-color` | - |
|
||||
| @stepper-button-disabled-color | `@background-color` | - |
|
||||
| @stepper-button-disabled-icon-color | `@gray-5` | - |
|
||||
| @stepper-button-round-theme-color | `@red` | - |
|
||||
| @stepper-input-width | `32px` | - |
|
||||
| @stepper-input-height | `28px` | - |
|
||||
| @stepper-input-font-size | `@font-size-md` | - |
|
||||
| @stepper-input-line-height | `normal` | - |
|
||||
| @stepper-input-text-color | `@text-color` | - |
|
||||
| @stepper-input-disabled-text-color | `@gray-5` | - |
|
||||
| @stepper-input-disabled-background-color | `@active-color` | - |
|
||||
| @stepper-border-radius | `@border-radius-md` | - |
|
||||
|
||||
## 常见问题
|
||||
|
||||
### 为什么 value 有时候会变成 string 类型?
|
||||
|
||||
Reference in New Issue
Block a user