diff --git a/components/button/style/mixin.less b/components/button/style/mixin.less index ee4d4b48a8..4f8c7787ea 100644 --- a/components/button/style/mixin.less +++ b/components/button/style/mixin.less @@ -68,11 +68,11 @@ // size &-lg > .@{btnClassName} { - .button-size(@btn-padding-lg; @btn-font-size-lg; @border-radius-base); + .button-size(@btn-padding-lg; @btn-font-size-lg; @btn-border-radius-base); } &-sm > .@{btnClassName} { - .button-size(@btn-padding-sm; @font-size-base; @border-radius-sm); + .button-size(@btn-padding-sm; @font-size-base; @btn-border-radius-sm); > .@{iconfont-css-prefix} { font-size: @font-size-base; } @@ -94,7 +94,7 @@ // outline: none; white-space: nowrap; line-height: @line-height-base; - .button-size(@btn-padding-base; @font-size-base; @border-radius-base); + .button-size(@btn-padding-base; @font-size-base; @btn-border-radius-base); user-select: none; transition: all .3s @ease-in-out; transform: translate3d(0, 0, 0); diff --git a/components/style/themes/default.less b/components/style/themes/default.less index ad2bfcb187..91bd226f15 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -71,6 +71,8 @@ // Buttons @btn-font-weight : 500; +@btn-border-radius-base : @border-radius-base; +@btn-border-radius-sm : @border-radius-sm; @btn-primary-color : #fff; @btn-primary-bg : @primary-color;