docs: display all less variables (#7604)
This commit is contained in:
@@ -142,3 +142,18 @@ export default {
|
||||
| onClick | 点击时的回调函数 | _Function_ | - |
|
||||
| onOpened | 完全展示后的回调函数 | _Function_ | - |
|
||||
| onClose | 关闭时的回调函数 | _Function_ | - |
|
||||
|
||||
### 样式变量
|
||||
|
||||
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
|
||||
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| -------------------------------- | ------------------------- | ---- |
|
||||
| @notify-text-color | `@white` | - |
|
||||
| @notify-padding | `@padding-xs @padding-md` | - |
|
||||
| @notify-font-size | `@font-size-md` | - |
|
||||
| @notify-line-height | `@line-height-md` | - |
|
||||
| @notify-primary-background-color | `@blue` | - |
|
||||
| @notify-success-background-color | `@green` | - |
|
||||
| @notify-danger-background-color | `@red` | - |
|
||||
| @notify-warning-background-color | `@orange` | - |
|
||||
|
||||
Reference in New Issue
Block a user