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
+11 -11
View File
@@ -119,14 +119,14 @@ app.use(NoticeBar);
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-notice-bar-height | `40px` | - |
| --van-notice-bar-padding | `0 @padding-md` | - |
| --van-notice-bar-wrapable-padding | `@padding-xs @padding-md` | - |
| --van-notice-bar-text-color | `@orange-dark` | - |
| --van-notice-bar-font-size | `@font-size-md` | - |
| --van-notice-bar-line-height | `24px` | - |
| --van-notice-bar-background-color | `@orange-light` | - |
| --van-notice-bar-icon-size | `16px` | - |
| --van-notice-bar-icon-min-width | `24px` | - |
| Name | Default Value | Description |
| --- | --- | --- |
| --van-notice-bar-height | `40px` | - |
| --van-notice-bar-padding | `0 var(--van-padding-md)` | - |
| --van-notice-bar-wrapable-padding | `var(--van-padding-xs) var(--van-padding-md)` | - |
| --van-notice-bar-text-color | `var(--van-orange-dark)` | - |
| --van-notice-bar-font-size | `var(--van-font-size-md)` | - |
| --van-notice-bar-line-height | `24px` | - |
| --van-notice-bar-background-color | `var(--van-orange-light)` | - |
| --van-notice-bar-icon-size | `16px` | - |
| --van-notice-bar-icon-min-width | `24px` | - |
+11 -11
View File
@@ -140,14 +140,14 @@ app.use(NoticeBar);
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| --------------------------------- | ------------------------- | ---- |
| --van-notice-bar-height | `40px` | - |
| --van-notice-bar-padding | `0 @padding-md` | - |
| --van-notice-bar-wrapable-padding | `@padding-xs @padding-md` | - |
| --van-notice-bar-text-color | `@orange-dark` | - |
| --van-notice-bar-font-size | `@font-size-md` | - |
| --van-notice-bar-line-height | `24px` | - |
| --van-notice-bar-background-color | `@orange-light` | - |
| --van-notice-bar-icon-size | `16px` | - |
| --van-notice-bar-icon-min-width | `24px` | - |
| 名称 | 默认值 | 描述 |
| --- | --- | --- |
| --van-notice-bar-height | `40px` | - |
| --van-notice-bar-padding | `0 var(--van-padding-md)` | - |
| --van-notice-bar-wrapable-padding | `var(--van-padding-xs) var(--van-padding-md)` | - |
| --van-notice-bar-text-color | `var(--van-orange-dark)` | - |
| --van-notice-bar-font-size | `var(--van-font-size-md)` | - |
| --van-notice-bar-line-height | `24px` | - |
| --van-notice-bar-background-color | `var(--van-orange-light)` | - |
| --van-notice-bar-icon-size | `16px` | - |
| --van-notice-bar-icon-min-width | `24px` | - |