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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
1 deletions
-
components/radio/style/index.less
-
components/style/themes/default.less
-
components/style/themes/variable.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; |
|
|
|
|
|
@ -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; |
|
|
|
|
|
@ -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; |
|
|
|