feat: add more color variables (#8861)
* style: add --van-warning-color * style: add --van-success-color * feat: add more color variables
This commit is contained in:
@@ -241,6 +241,6 @@ The component provides the following CSS variables, which can be used to customi
|
||||
| --van-tree-select-content-background-color | _var(--van-white)_ | - |
|
||||
| --van-tree-select-nav-item-padding | _14px var(--van-padding-sm)_ | - |
|
||||
| --van-tree-select-item-height | _48px_ | - |
|
||||
| --van-tree-select-item-active-color | _var(--van-red)_ | - |
|
||||
| --van-tree-select-item-active-color | _var(--van-danger-color)_ | - |
|
||||
| --van-tree-select-item-disabled-color | _var(--van-gary-5)_ | - |
|
||||
| --van-tree-select-item-selected-size | _16px_ | - |
|
||||
|
||||
@@ -247,6 +247,6 @@ export default {
|
||||
| --van-tree-select-content-background-color | _var(--van-white)_ | - |
|
||||
| --van-tree-select-nav-item-padding | _14px var(--van-padding-sm)_ | - |
|
||||
| --van-tree-select-item-height | _48px_ | - |
|
||||
| --van-tree-select-item-active-color | _var(--van-red)_ | - |
|
||||
| --van-tree-select-item-active-color | _var(--van-danger-color)_ | - |
|
||||
| --van-tree-select-item-disabled-color | _var(--van-gary-5)_ | - |
|
||||
| --van-tree-select-item-selected-size | _16px_ | - |
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
@tree-select-content-background-color: var(--van-white);
|
||||
@tree-select-nav-item-padding: 14px var(--van-padding-sm);
|
||||
@tree-select-item-height: 48px;
|
||||
@tree-select-item-active-color: var(--van-red);
|
||||
@tree-select-item-active-color: var(--van-danger-color);
|
||||
@tree-select-item-disabled-color: var(--van-gray-5);
|
||||
@tree-select-item-selected-size: 16px;
|
||||
|
||||
Reference in New Issue
Block a user