style: decentralized less var (#8369)
* style: decentralized less var * chore: remove emtpy var file
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import '../style/var.less';
|
||||
@import './var.less';
|
||||
@import '../cell/var.less';
|
||||
|
||||
.van-field {
|
||||
&__label {
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
@import '../style/var.less';
|
||||
|
||||
@field-label-width: 6.2em;
|
||||
@field-label-color: @gray-7;
|
||||
@field-label-margin-right: @padding-sm;
|
||||
@field-input-text-color: @text-color;
|
||||
@field-input-error-text-color: @red;
|
||||
@field-input-disabled-text-color: @gray-5;
|
||||
@field-placeholder-text-color: @gray-5;
|
||||
@field-icon-size: 16px;
|
||||
@field-clear-icon-size: 16px;
|
||||
@field-clear-icon-color: @gray-5;
|
||||
@field-right-icon-color: @gray-6;
|
||||
@field-error-message-color: @red;
|
||||
@field-error-message-text-color: 12px;
|
||||
@field-text-area-min-height: 60px;
|
||||
@field-word-limit-color: @gray-7;
|
||||
@field-word-limit-font-size: @font-size-sm;
|
||||
@field-word-limit-line-height: 16px;
|
||||
@field-disabled-text-color: @gray-5;
|
||||
Reference in New Issue
Block a user