Skip to content

Commit

Permalink
Merge pull request #15541 from easyops-cn/add-radio-button-checked-bg
Browse files Browse the repository at this point in the history
refactor: add @radio-button-checked-bg
  • Loading branch information
afc163 authored Mar 26, 2019
2 parents 2216a39 + 57c20e3 commit f4a92d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/radio/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ span.@{radio-prefix-cls} + * {
&-checked {
z-index: 1;
color: @radio-dot-color;
background: @radio-button-bg;
background: @radio-button-checked-bg;
border-color: @radio-dot-color;
box-shadow: -1px 0 0 0 @radio-dot-color;
&::before {
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@

// Radio buttons
@radio-button-bg: @btn-default-bg;
@radio-button-checked-bg: @btn-default-bg;
@radio-button-color: @btn-default-color;
@radio-button-hover-color: @primary-5;
@radio-button-active-color: @primary-7;
Expand Down

0 comments on commit f4a92d0

Please sign in to comment.