docs: update component css vars value
This commit is contained in:
+14
-14
@@ -306,17 +306,17 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Tabs i
|
||||
|
||||
The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
|
||||
|
||||
| Name | Default Value | Description |
|
||||
| ------------------------------- | --------------------- | ----------- |
|
||||
| --van-tab-text-color | `@gray-7` | - |
|
||||
| --van-tab-active-text-color | `@text-color` | - |
|
||||
| --van-tab-disabled-text-color | `@gray-5` | - |
|
||||
| --van-tab-font-size | `@font-size-md` | - |
|
||||
| --van-tab-line-height | `@line-height-md` | - |
|
||||
| --van-tabs-default-color | `@red` | - |
|
||||
| --van-tabs-line-height | `44px` | - |
|
||||
| --van-tabs-card-height | `30px` | - |
|
||||
| --van-tabs-nav-background-color | `@white` | - |
|
||||
| --van-tabs-bottom-bar-width | `40px` | - |
|
||||
| --van-tabs-bottom-bar-height | `3px` | - |
|
||||
| --van-tabs-bottom-bar-color | `@tabs-default-color` | - |
|
||||
| Name | Default Value | Description |
|
||||
| ------------------------------- | --------------------------- | ----------- |
|
||||
| --van-tab-text-color | `var(--van-gary-7)` | - |
|
||||
| --van-tab-active-text-color | `var(--van-text-color)` | - |
|
||||
| --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-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)` | - |
|
||||
|
||||
+14
-14
@@ -313,20 +313,20 @@ export default {
|
||||
|
||||
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
|
||||
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| ------------------------------- | --------------------- | ---- |
|
||||
| --van-tab-text-color | `@gray-7` | - |
|
||||
| --van-tab-active-text-color | `@text-color` | - |
|
||||
| --van-tab-disabled-text-color | `@gray-5` | - |
|
||||
| --van-tab-font-size | `@font-size-md` | - |
|
||||
| --van-tab-line-height | `@line-height-md` | - |
|
||||
| --van-tabs-default-color | `@red` | - |
|
||||
| --van-tabs-line-height | `44px` | - |
|
||||
| --van-tabs-card-height | `30px` | - |
|
||||
| --van-tabs-nav-background-color | `@white` | - |
|
||||
| --van-tabs-bottom-bar-width | `40px` | - |
|
||||
| --van-tabs-bottom-bar-height | `3px` | - |
|
||||
| --van-tabs-bottom-bar-color | `@tabs-default-color` | - |
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| ------------------------------- | --------------------------- | ---- |
|
||||
| --van-tab-text-color | `var(--van-gary-7)` | - |
|
||||
| --van-tab-active-text-color | `var(--van-text-color)` | - |
|
||||
| --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-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)` | - |
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
||||
Reference in New Issue
Block a user