docs: update component css vars value

This commit is contained in:
chenjiahan
2021-06-14 11:13:38 +08:00
committed by neverland
parent 8e3833acc8
commit b3cc75dcbd
119 changed files with 1309 additions and 1308 deletions
+12 -12
View File
@@ -204,15 +204,15 @@ export default {
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-tabbar-height | `50px` | - |
| --van-tabbar-z-index | `1` | - |
| --van-tabbar-background-color | `@white` | - |
| --van-tabbar-item-font-size | `@font-size-sm` | - |
| --van-tabbar-item-text-color | `@gray-7` | - |
| --van-tabbar-item-active-color | `@blue` | - |
| --van-tabbar-item-active-background-color | `@white` | - |
| --van-tabbar-item-line-height | `1` | - |
| --van-tabbar-item-icon-size | `22px` | - |
| --van-tabbar-item-margin-bottom | `4px` | - |
| Name | Default Value | Description |
| --- | --- | --- |
| --van-tabbar-height | `50px` | - |
| --van-tabbar-z-index | `1` | - |
| --van-tabbar-background-color | `var(--van-white)` | - |
| --van-tabbar-item-font-size | `var(--van-font-size-sm)` | - |
| --van-tabbar-item-text-color | `var(--van-gary-7)` | - |
| --van-tabbar-item-active-color | `var(--van-blue)` | - |
| --van-tabbar-item-active-background-color | `var(--van-white)` | - |
| --van-tabbar-item-line-height | `1` | - |
| --van-tabbar-item-icon-size | `22px` | - |
| --van-tabbar-item-margin-bottom | `4px` | - |
+12 -12
View File
@@ -216,15 +216,15 @@ export default {
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| ----------------------------------------- | --------------- | ---- |
| --van-tabbar-height | `50px` | - |
| --van-tabbar-z-index | `1` | - |
| --van-tabbar-background-color | `@white` | - |
| --van-tabbar-item-font-size | `@font-size-sm` | - |
| --van-tabbar-item-text-color | `@gray-7` | - |
| --van-tabbar-item-active-color | `@blue` | - |
| --van-tabbar-item-active-background-color | `@white` | - |
| --van-tabbar-item-line-height | `1` | - |
| --van-tabbar-item-icon-size | `22px` | - |
| --van-tabbar-item-margin-bottom | `4px` | - |
| 名称 | 默认值 | 描述 |
| ----------------------------------------- | ------------------------- | ---- |
| --van-tabbar-height | `50px` | - |
| --van-tabbar-z-index | `1` | - |
| --van-tabbar-background-color | `var(--van-white)` | - |
| --van-tabbar-item-font-size | `var(--van-font-size-sm)` | - |
| --van-tabbar-item-text-color | `var(--van-gary-7)` | - |
| --van-tabbar-item-active-color | `var(--van-blue)` | - |
| --van-tabbar-item-active-background-color | `var(--van-white)` | - |
| --van-tabbar-item-line-height | `1` | - |
| --van-tabbar-item-icon-size | `22px` | - |
| --van-tabbar-item-margin-bottom | `4px` | - |