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:
neverland
2021-06-14 15:21:05 +08:00
committed by GitHub
parent d4735bb084
commit 4ccd7c1cb5
115 changed files with 250 additions and 234 deletions
+1 -1
View File
@@ -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_ | - |
+1 -1
View File
@@ -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_ | - |
+1 -1
View File
@@ -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;