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
+2 -2
View File
@@ -313,10 +313,10 @@ The component provides the following CSS variables, which can be used to customi
| --van-tab-disabled-text-color | _var(--van-gary-5)_ | - |
| --van-tab-font-size | _var(--van-font-size-md)_ | - |
| --van-tab-line-height | _var(--van-line-height-md)_ | - |
| --van-tabs-default-color | _var(--van-red)_ | - |
| --van-tabs-default-color | _var(--van-danger-color)_ | - |
| --van-tabs-line-height | _44px_ | - |
| --van-tabs-card-height | _30px_ | - |
| --van-tabs-nav-background-color | _var(--van-white)_ | - |
| --van-tabs-bottom-bar-width | _40px_ | - |
| --van-tabs-bottom-bar-height | _3px_ | - |
| --van-tabs-bottom-bar-color | _var(--van-red)_ | - |
| --van-tabs-bottom-bar-color | _var(--van-danger-color)_ | - |
+2 -2
View File
@@ -320,13 +320,13 @@ export default {
| --van-tab-disabled-text-color | _var(--van-gary-5)_ | - |
| --van-tab-font-size | _var(--van-font-size-md)_ | - |
| --van-tab-line-height | _var(--van-line-height-md)_ | - |
| --van-tabs-default-color | _var(--van-red)_ | - |
| --van-tabs-default-color | _var(--van-danger-color)_ | - |
| --van-tabs-line-height | _44px_ | - |
| --van-tabs-card-height | _30px_ | - |
| --van-tabs-nav-background-color | _var(--van-white)_ | - |
| --van-tabs-bottom-bar-width | _40px_ | - |
| --van-tabs-bottom-bar-height | _3px_ | - |
| --van-tabs-bottom-bar-color | _var(--van-red)_ | - |
| --van-tabs-bottom-bar-color | _var(--van-danger-color)_ | - |
## 常见问题