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:
@@ -238,4 +238,4 @@ The component provides the following CSS variables, which can be used to customi
|
||||
| --van-dialog-has-title-message-padding-top | _var(--van-padding-xs)_ | - |
|
||||
| --van-dialog-button-height | _48px_ | - |
|
||||
| --van-dialog-round-button-height | _36px_ | - |
|
||||
| --van-dialog-confirm-button-text-color | _var(--van-red)_ | - |
|
||||
| --van-dialog-confirm-button-text-color | _var(--van-danger-color)_ | - |
|
||||
|
||||
@@ -273,7 +273,7 @@ export default {
|
||||
| --van-dialog-has-title-message-padding-top | _var(--van-padding-xs)_ | - |
|
||||
| --van-dialog-button-height | _48px_ | - |
|
||||
| --van-dialog-round-button-height | _36px_ | - |
|
||||
| --van-dialog-confirm-button-text-color | _var(--van-red)_ | - |
|
||||
| --van-dialog-confirm-button-text-color | _var(--van-danger-color)_ | - |
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
||||
+1
-1
@@ -18,4 +18,4 @@
|
||||
@dialog-has-title-message-padding-top: var(--van-padding-xs);
|
||||
@dialog-button-height: 48px;
|
||||
@dialog-round-button-height: 36px;
|
||||
@dialog-confirm-button-text-color: var(--van-red);
|
||||
@dialog-confirm-button-text-color: var(--van-danger-color);
|
||||
|
||||
Reference in New Issue
Block a user