From 648906fff7625a91b9e936d495695f93a8e61b1f Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 22 Nov 2020 16:10:28 +0800 Subject: [PATCH] docs: update less variables --- src/action-bar/README.md | 28 ++++++++++++++-------------- src/action-bar/README.zh-CN.md | 28 ++++++++++++++-------------- src/button/README.md | 10 +++++----- src/button/README.zh-CN.md | 10 +++++----- 4 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/action-bar/README.md b/src/action-bar/README.md index 06531f5e7..2d4392847 100644 --- a/src/action-bar/README.md +++ b/src/action-bar/README.md @@ -131,17 +131,17 @@ Use `badge` prop to show badge in icon. How to use: [Custom Theme](#/en-US/theme). -| Name | Default Value | Description | -| ---------------------------------- | ------------------ | ----------- | -| @goods-action-background-color | `@white` | - | -| @goods-action-height | `50px` | - | -| @goods-action-icon-width | `48px` | - | -| @goods-action-icon-height | `100%` | - | -| @goods-action-icon-color | `@text-color` | - | -| @goods-action-icon-size | `18px` | - | -| @goods-action-icon-font-size | `@font-size-xs` | - | -| @goods-action-icon-active-color | `@active-color` | - | -| @goods-action-icon-text-color | `@gray-7` | - | -| @goods-action-button-height | `40px` | - | -| @goods-action-button-warning-color | `@gradient-orange` | - | -| @goods-action-button-danger-color | `@gradient-red` | - | +| Name | Default Value | Description | +| -------------------------------- | ------------------ | ----------- | +| @action-bar-background-color | `@white` | - | +| @action-bar-height | `50px` | - | +| @action-bar-icon-width | `48px` | - | +| @action-bar-icon-height | `100%` | - | +| @action-bar-icon-color | `@text-color` | - | +| @action-bar-icon-size | `18px` | - | +| @action-bar-icon-font-size | `@font-size-xs` | - | +| @action-bar-icon-active-color | `@active-color` | - | +| @action-bar-icon-text-color | `@gray-7` | - | +| @action-bar-button-height | `40px` | - | +| @action-bar-button-warning-color | `@gradient-orange` | - | +| @action-bar-button-danger-color | `@gradient-red` | - | diff --git a/src/action-bar/README.zh-CN.md b/src/action-bar/README.zh-CN.md index 0beee6698..f81365cfe 100644 --- a/src/action-bar/README.zh-CN.md +++ b/src/action-bar/README.zh-CN.md @@ -134,17 +134,17 @@ export default { 组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。 -| 名称 | 默认值 | 描述 | -| ---------------------------------- | ------------------ | ---- | -| @goods-action-background-color | `@white` | - | -| @goods-action-height | `50px` | - | -| @goods-action-icon-width | `48px` | - | -| @goods-action-icon-height | `100%` | - | -| @goods-action-icon-color | `@text-color` | - | -| @goods-action-icon-size | `18px` | - | -| @goods-action-icon-font-size | `@font-size-xs` | - | -| @goods-action-icon-active-color | `@active-color` | - | -| @goods-action-icon-text-color | `@gray-7` | - | -| @goods-action-button-height | `40px` | - | -| @goods-action-button-warning-color | `@gradient-orange` | - | -| @goods-action-button-danger-color | `@gradient-red` | - | +| 名称 | 默认值 | 描述 | +| -------------------------------- | ------------------ | ---- | +| @action-bar-background-color | `@white` | - | +| @action-bar-height | `50px` | - | +| @action-bar-icon-width | `48px` | - | +| @action-bar-icon-height | `100%` | - | +| @action-bar-icon-color | `@text-color` | - | +| @action-bar-icon-size | `18px` | - | +| @action-bar-icon-font-size | `@font-size-xs` | - | +| @action-bar-icon-active-color | `@active-color` | - | +| @action-bar-icon-text-color | `@gray-7` | - | +| @action-bar-button-height | `40px` | - | +| @action-bar-button-warning-color | `@gradient-orange` | - | +| @action-bar-button-danger-color | `@gradient-red` | - | diff --git a/src/button/README.md b/src/button/README.md index 7a2ad1edd..27cc220b7 100644 --- a/src/button/README.md +++ b/src/button/README.md @@ -161,11 +161,11 @@ How to use: [Custom Theme](#/en-US/theme). | @button-default-background-color | `@white` | - | | @button-default-border-color | `@border-color` | - | | @button-primary-color | `@white` | - | -| @button-primary-background-color | `@green` | - | -| @button-primary-border-color | `@green` | - | -| @button-info-color | `@white` | - | -| @button-info-background-color | `@blue` | - | -| @button-info-border-color | `@blue` | - | +| @button-primary-background-color | `@blue` | - | +| @button-primary-border-color | `@blue` | - | +| @button-success-color | `@white` | - | +| @button-success-background-color | `@green` | - | +| @button-success-border-color | `@green` | - | | @button-danger-color | `@white` | - | | @button-danger-background-color | `@red` | - | | @button-danger-border-color | `@red` | - | diff --git a/src/button/README.zh-CN.md b/src/button/README.zh-CN.md index a1485ac3a..fb5a960e5 100644 --- a/src/button/README.zh-CN.md +++ b/src/button/README.zh-CN.md @@ -188,11 +188,11 @@ app.use(Button); | @button-default-background-color | `@white` | - | | @button-default-border-color | `@border-color` | - | | @button-primary-color | `@white` | - | -| @button-primary-background-color | `@green` | - | -| @button-primary-border-color | `@green` | - | -| @button-info-color | `@white` | - | -| @button-info-background-color | `@blue` | - | -| @button-info-border-color | `@blue` | - | +| @button-primary-background-color | `@blue` | - | +| @button-primary-border-color | `@blue` | - | +| @button-success-color | `@white` | - | +| @button-success-background-color | `@green` | - | +| @button-success-border-color | `@green` | - | | @button-danger-color | `@white` | - | | @button-danger-background-color | `@red` | - | | @button-danger-border-color | `@red` | - |