docs: update component CSS variable names (#8857)

This commit is contained in:
neverland
2021-06-14 10:23:47 +08:00
committed by GitHub
parent 34a3fe8787
commit 8e3833acc8
122 changed files with 1755 additions and 1755 deletions
+28 -28
View File
@@ -153,32 +153,32 @@ export default {
### 样式变量
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| ----------------------------------- | ---------------------------- | ---- |
| @coupon-margin | `0 @padding-sm @padding-sm` | - |
| @coupon-content-height | `84px` | - |
| @coupon-content-padding | `14px 0` | - |
| @coupon-background-color | `@white` | - |
| @coupon-active-background-color | `@active-color` | - |
| @coupon-border-radius | `@border-radius-lg` | - |
| @coupon-box-shadow | `0 0 4px rgba(0, 0, 0, 0.1)` | - |
| @coupon-head-width | `96px` | - |
| @coupon-amount-color | `@red` | - |
| @coupon-amount-font-size | `30px` | - |
| @coupon-currency-font-size | `40%` | - |
| @coupon-name-font-size | `@font-size-md` | - |
| @coupon-disabled-text-color | `@gray-6` | - |
| @coupon-description-padding | `@padding-xs @padding-md` | - |
| @coupon-description-border-color | `@border-color` | - |
| @coupon-corner-checkbox-icon-color | `@red` | - |
| @coupon-list-background-color | `@background-color` | - |
| @coupon-list-field-padding | `5px 0 5px @padding-md` | - |
| @coupon-list-exchange-button-height | `32px` | - |
| @coupon-list-close-button-height | `40px` | - |
| @coupon-list-empty-image-size | `200px` | - |
| @coupon-list-empty-tip-color | `@gray-6` | - |
| @coupon-list-empty-tip-font-size | `@font-size-md` | - |
| @coupon-list-empty-tip-line-height | `@line-height-md` | - |
| @coupon-cell-selected-text-color | `@text-color` | - |
| 名称 | 默认值 | 描述 |
| --- | --- | --- |
| --van-coupon-margin | `0 @padding-sm @padding-sm` | - |
| --van-coupon-content-height | `84px` | - |
| --van-coupon-content-padding | `14px 0` | - |
| --van-coupon-background-color | `@white` | - |
| --van-coupon-active-background-color | `@active-color` | - |
| --van-coupon-border-radius | `@border-radius-lg` | - |
| --van-coupon-box-shadow | `0 0 4px rgba(0, 0, 0, 0.1)` | - |
| --van-coupon-head-width | `96px` | - |
| --van-coupon-amount-color | `@red` | - |
| --van-coupon-amount-font-size | `30px` | - |
| --van-coupon-currency-font-size | `40%` | - |
| --van-coupon-name-font-size | `@font-size-md` | - |
| --van-coupon-disabled-text-color | `@gray-6` | - |
| --van-coupon-description-padding | `@padding-xs @padding-md` | - |
| --van-coupon-description-border-color | `@border-color` | - |
| --van-coupon-corner-checkbox-icon-color | `@red` | - |
| --van-coupon-list-background-color | `@background-color` | - |
| --van-coupon-list-field-padding | `5px 0 5px @padding-md` | - |
| --van-coupon-list-exchange-button-height | `32px` | - |
| --van-coupon-list-close-button-height | `40px` | - |
| --van-coupon-list-empty-image-size | `200px` | - |
| --van-coupon-list-empty-tip-color | `@gray-6` | - |
| --van-coupon-list-empty-tip-font-size | `@font-size-md` | - |
| --van-coupon-list-empty-tip-line-height | `@line-height-md` | - |
| --van-coupon-cell-selected-text-color | `@text-color` | - |