Skip to content

Commit

Permalink
feat: add variable for aliyun theme of radio (#34194)
Browse files Browse the repository at this point in the history
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
  • Loading branch information
hi-zhaoyeqing and zhaohonghai committed Feb 27, 2022
1 parent 2082b37 commit 1a2ced6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/radio/style/index.less
Expand Up @@ -174,7 +174,7 @@ span.@{radio-prefix-cls} + * {
display: inline-block;
height: @btn-height-base;
margin: 0;
padding: 0 @padding-md - 1px;
padding: 0 @radio-button-padding-horizontal;
color: @radio-button-color;
font-size: @font-size-base;
line-height: @btn-height-base - 2px;
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Expand Up @@ -308,6 +308,7 @@
@radio-button-color: @btn-default-color;
@radio-button-hover-color: @primary-5;
@radio-button-active-color: @primary-7;
@radio-button-padding-horizontal: @padding-md - 1px;
@radio-disabled-button-checked-bg: @disabled-active-bg;
@radio-disabled-button-checked-color: @disabled-color;
@radio-wrapper-margin-right: 8px;
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/variable.less
Expand Up @@ -363,6 +363,7 @@ html {
@radio-button-color: @btn-default-color;
@radio-button-hover-color: @primary-5;
@radio-button-active-color: @primary-7;
@radio-button-padding-horizontal: @padding-md - 1px;
@radio-disabled-button-checked-bg: @disabled-active-bg;
@radio-disabled-button-checked-color: @disabled-color;
@radio-wrapper-margin-right: 8px;
Expand Down

0 comments on commit 1a2ced6

Please sign in to comment.