feat: add more color variables (#8861)

* style: add --van-warning-color

* style: add --van-success-color

* feat: add more color variables
This commit is contained in:
neverland
2021-06-14 15:21:05 +08:00
committed by GitHub
parent d4735bb084
commit 4ccd7c1cb5
115 changed files with 250 additions and 234 deletions
+1 -1
View File
@@ -105,4 +105,4 @@ The component provides the following CSS variables, which can be used to customi
| --van-contact-list-edit-icon-size | _16px_ | - |
| --van-contact-list-add-button-z-index | _999_ | - |
| --van-contact-list-item-padding | _var(--van-padding-md)_ | - |
| --van-contact-list-item-radio-icon-color | _var(--van-red)_ | - |
| --van-contact-list-item-radio-icon-color | _var(--van-danger-color)_ | - |
+6 -6
View File
@@ -100,9 +100,9 @@ export default {
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| ---------------------------------------- | ----------------------- | ---- |
| --van-contact-list-edit-icon-size | _16px_ | - |
| --van-contact-list-add-button-z-index | _999_ | - |
| --van-contact-list-item-padding | _var(--van-padding-md)_ | - |
| --van-contact-list-item-radio-icon-color | _var(--van-red)_ | - |
| 名称 | 默认值 | 描述 |
| ---------------------------------------- | ------------------------- | ---- |
| --van-contact-list-edit-icon-size | _16px_ | - |
| --van-contact-list-add-button-z-index | _999_ | - |
| --van-contact-list-item-padding | _var(--van-padding-md)_ | - |
| --van-contact-list-item-radio-icon-color | _var(--van-danger-color)_ | - |
+1 -1
View File
@@ -3,4 +3,4 @@
@contact-list-edit-icon-size: 16px;
@contact-list-add-button-z-index: 999;
@contact-list-item-padding: var(--van-padding-md);
@contact-list-item-radio-icon-color: var(--van-red);
@contact-list-item-radio-icon-color: var(--van-danger-color);