ycjcl868 5 years ago
committed by GitHub Action
parent
commit
817b2ab70d
  1. 2
      components/anchor/style/index.less
  2. 1
      components/comment/style/index.less
  3. 10
      components/radio/style/index.less
  4. 6
      components/style/themes/default.less

2
components/anchor/style/index.less

@ -13,7 +13,7 @@
margin-left: -4px;
padding-left: 4px;
overflow: auto;
background-color: @component-background;
background-color: @anchor-bg;
}
&-ink {

1
components/comment/style/index.less

@ -5,6 +5,7 @@
.@{comment-prefix-cls} {
position: relative;
background-color: @comment-bg;
&-inner {
display: flex;

10
components/radio/style/index.less

@ -266,16 +266,16 @@ span.@{radio-prefix-cls} + * {
}
.@{radio-group-prefix-cls}-solid &-checked:not(&-disabled) {
color: @component-background;
color: @radtio-solid-checked-color;
background: @radio-dot-color;
border-color: @radio-dot-color;
&:hover {
color: @component-background;
color: @radtio-solid-checked-color;
background: @radio-button-hover-color;
border-color: @radio-button-hover-color;
}
&:active {
color: @component-background;
color: @radtio-solid-checked-color;
background: @radio-button-active-color;
border-color: @radio-button-active-color;
}
@ -302,8 +302,8 @@ span.@{radio-prefix-cls} + * {
}
&-disabled&-checked {
color: @text-color-inverse;
background-color: tint(@black, 90%);
color: @radio-disabled-button-checked-color;
background-color: @radio-disabled-button-checked-bg;
border-color: @border-color-base;
box-shadow: none;
}

6
components/style/themes/default.less

@ -211,6 +211,8 @@
// Radio
@radio-size: 16px;
@radio-dot-color: @primary-color;
// solid text-color
@radtio-solid-checked-color: @component-background;
// Radio buttons
@radio-button-bg: @btn-default-bg;
@ -218,6 +220,8 @@
@radio-button-color: @btn-default-color;
@radio-button-hover-color: @primary-5;
@radio-button-active-color: @primary-7;
@radio-disabled-button-checked-bg: tint(@black, 90%);
@radio-disabled-button-checked-color: @text-color-inverse;
// Media queries breakpoints
// Extra small screen / phone
@ -356,6 +360,7 @@
// Anchor
// ---
@anchor-bg: @component-background;
@anchor-border-color: @border-color-split;
// Tooltip
@ -515,6 +520,7 @@
// Comment
// ---
@comment-bg: inherit;
@comment-padding-base: 16px 0;
@comment-nest-indent: 44px;
@comment-font-size-base: @font-size-base;

Loading…
Cancel
Save