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:
+2
-2
@@ -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)_ | - |
|
||||
|
||||
@@ -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)_ | - |
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
||||
Reference in New Issue
Block a user