style: decentralized less var (#8369)
* style: decentralized less var * chore: remove emtpy var file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@import '../style/var.less';
|
||||
@import './var.less';
|
||||
@import '../style/mixins/safe-area.less';
|
||||
|
||||
.van-submit-bar {
|
||||
@@ -72,7 +72,7 @@
|
||||
border: none;
|
||||
|
||||
&--danger {
|
||||
background: @action-bar-button-danger-color;
|
||||
background: @gradient-red;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
@import '../style/var.less';
|
||||
|
||||
@submit-bar-height: 50px;
|
||||
@submit-bar-z-index: 100;
|
||||
@submit-bar-background-color: @white;
|
||||
@submit-bar-button-width: 110px;
|
||||
@submit-bar-price-color: @red;
|
||||
@submit-bar-price-font-size: @font-size-md;
|
||||
@submit-bar-currency-font-size: @font-size-md;
|
||||
@submit-bar-text-color: @text-color;
|
||||
@submit-bar-text-font-size: @font-size-md;
|
||||
@submit-bar-tip-padding: @padding-xs @padding-sm;
|
||||
@submit-bar-tip-font-size: @font-size-sm;
|
||||
@submit-bar-tip-line-height: 1.5;
|
||||
@submit-bar-tip-color: #f56723;
|
||||
@submit-bar-tip-background-color: #fff7cc;
|
||||
@submit-bar-tip-icon-size: 12px;
|
||||
@submit-bar-button-height: 40px;
|
||||
@submit-bar-padding: 0 @padding-md;
|
||||
@submit-bar-price-integer-font-size: 20px;
|
||||
@submit-bar-price-font-family: @price-integer-font-family;
|
||||
Reference in New Issue
Block a user