[improvement] Button: add less vars (#3093)

This commit is contained in:
neverland
2019-04-04 17:50:10 +08:00
committed by GitHub
parent 861357c015
commit 19f5ec81ba
2 changed files with 40 additions and 23 deletions
+17
View File
@@ -33,6 +33,20 @@
@action-sheet-close-icon-color: @gray-dark;
// Button
@button-mini-height: 22px;
@button-mini-min-width: 50px;
@button-mini-font-size: 10px;
@button-mini-line-height: 20px;
@button-small-height: 30px;
@button-small-font-size: 12px;
@button-small-min-width: 60px;
@button-small-line-height: 28px;
@button-normal-font-size: 14px;
@button-large-height: 50px;
@button-large-line-height: 48px;
@button-default-height: 44px;
@button-default-line-height: 42px;
@button-default-font-size: 16px;
@button-default-color: @text-color;
@button-default-background-color: @white;
@button-default-border-color: @border-color;
@@ -52,8 +66,11 @@
@button-bottom-action-default-background-color: @orange;
@button-bottom-action-primary-color: @white;
@button-bottom-action-primary-background-color: @red;
@button-border-width: 1px;
@button-border-radius: 2px;
@button-round-border-radius: 10em;
@button-plain-background-color: @white;
@button-disabled-opacity: .5;
// Checkbox
@checkbox-size: 20px;