docs: display all less variables (#7604)

This commit is contained in:
neverland
2020-11-22 16:02:46 +08:00
committed by GitHub
parent 0b2b3a91b5
commit 862adcd8eb
126 changed files with 2330 additions and 14 deletions
+18
View File
@@ -149,3 +149,21 @@ Use `action` slot to custom right button, `cancel` event will no longer be Emitt
| label | Custom Search label |
| left-icon | Custom left icon |
| right-icon | Custom right icon |
### Less Variables
How to use: [Custom Theme](#/en-US/theme).
| Name | Default Value | Description |
| -------------------------------- | ------------------ | ----------- |
| @search-padding | `10px @padding-sm` | - |
| @search-background-color | `@white` | - |
| @search-content-background-color | `@gray-1` | - |
| @search-input-height | `34px` | - |
| @search-label-padding | `0 5px` | - |
| @search-label-color | `@text-color` | - |
| @search-label-font-size | `@font-size-md` | - |
| @search-left-icon-color | `@gray-6` | - |
| @search-action-padding | `0 @padding-xs` | - |
| @search-action-text-color | `@text-color` | - |
| @search-action-font-size | `@font-size-md` | - |