From e732bffde3aba59f20c968bce62ecf4458c4b004 Mon Sep 17 00:00:00 2001 From: frezc <504021398@qq.com> Date: Tue, 13 Nov 2018 22:48:44 +0800 Subject: [PATCH] add checkbox-border-width --- components/checkbox/style/mixin.less | 2 +- components/style/themes/default.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/checkbox/style/mixin.less b/components/checkbox/style/mixin.less index c95686aa88..81fc57010b 100644 --- a/components/checkbox/style/mixin.less +++ b/components/checkbox/style/mixin.less @@ -46,7 +46,7 @@ display: block; width: @checkbox-size; height: @checkbox-size; - border: @border-width-base @border-style-base @border-color-base; + border: @checkbox-border-width @border-style-base @border-color-base; border-radius: @border-radius-sm; background-color: @checkbox-check-color; transition: all .3s; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 4e28770658..7de75b370d 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -160,6 +160,7 @@ @checkbox-size : 16px; @checkbox-color : @primary-color; @checkbox-check-color : #fff; +@checkbox-border-width : @border-width-base; // Radio @radio-size : 16px;