Browse Source

feat: add variable for aliyun theme of radio (#34194)

Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
pull/34226/head
qdzhaoxiaodao 3 years ago
committed by GitHub
parent
commit
1a2ced6874
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/radio/style/index.less
  2. 1
      components/style/themes/default.less
  3. 1
      components/style/themes/variable.less

2
components/radio/style/index.less

@ -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;

1
components/style/themes/default.less

@ -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;

1
components/style/themes/variable.less

@ -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;

Loading…
Cancel
Save