Skip to content

Commit

Permalink
feat: 不再对weui-btn_plain进行支持,可使用weui-btn代替
Browse files Browse the repository at this point in the history
  • Loading branch information
bearyan committed Jan 26, 2020
1 parent 3e2a142 commit 699609f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 54 deletions.
6 changes: 0 additions & 6 deletions src/style/base/variable/weui-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,3 @@
@weuiBtnWarnBg: @weuiBtnDefaultBg;
@weuiBtnWarnActiveBg: @weuiBtnDefaultActiveBg;
@weuiBtnwarnDisabledBg: @weuiBtnDefaultDisabledBg;

// plain-btn
@weuiBtnPlainPrimaryColor: var(--weui-BRAND);
@weuiBtnPlainPrimaryBorderColor: var(--weui-BRAND);
@weuiBtnPlainDefaultColor: var(--weui-BTN-DEFAULT-BG);
@weuiBtnPlainDefaultBorderColor: var(--weui-BTN-DEFAULT-BG);
43 changes: 0 additions & 43 deletions src/style/widget/weui-button/weui-btn_plain.less

This file was deleted.

5 changes: 0 additions & 5 deletions src/style/widget/weui-button/weui-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
@import "weui-btn_warn";
@import "weui-btn_disabled";
@import "weui-btn_loading";
@import "weui-btn_plain";
@import "weui-btn_cell";

button, input {
Expand All @@ -36,10 +35,6 @@ button, input {
&.weui-btn_inline,&.weui-btn_mini {
width: auto;
}
&.weui-btn_plain-primary,&.weui-btn_plain-default{
border-width: 1px;
background-color: transparent;
}
}

.weui-btn_mini {
Expand Down

0 comments on commit 699609f

Please sign in to comment.