[Improvement] Button: add plain prop (#1444)

This commit is contained in:
neverland
2018-07-09 21:11:08 +08:00
committed by GitHub
parent 38fbd14161
commit 7c3d3db630
6 changed files with 52 additions and 63 deletions

View File

@@ -53,6 +53,18 @@
border: 1px solid $button-danger-border-color;
}
&--plain {
background-color: $white;
&.van-button--primary {
color: $button-primary-background-color;
}
&.van-button--danger {
color: $button-danger-background-color;
}
}
&--large {
width: 100%;
height: 50px;