[Improvement] Button: add warning type (#1558)
This commit is contained in:
@@ -54,6 +54,12 @@
|
||||
border: 1px solid $button-danger-border-color;
|
||||
}
|
||||
|
||||
&--warning {
|
||||
color: $button-warning-color;
|
||||
background-color: $button-warning-background-color;
|
||||
border: 1px solid $button-warning-border-color;
|
||||
}
|
||||
|
||||
&--plain {
|
||||
background-color: $white;
|
||||
|
||||
@@ -64,6 +70,10 @@
|
||||
&.van-button--danger {
|
||||
color: $button-danger-background-color;
|
||||
}
|
||||
|
||||
&.van-button--warning {
|
||||
color: $button-warning-background-color;
|
||||
}
|
||||
}
|
||||
|
||||
&--large {
|
||||
|
||||
Reference in New Issue
Block a user