From 4ef3215e1ac310fedfd4a1c3933e09f54dab196b Mon Sep 17 00:00:00 2001 From: Amumu Date: Wed, 1 Apr 2020 11:13:08 +0800 Subject: [PATCH] fix typo (#22803) --- components/radio/style/index.less | 6 +++--- components/style/themes/dark.less | 2 ++ components/style/themes/default.less | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/radio/style/index.less b/components/radio/style/index.less index 63dfd66fb7..8238f3dc97 100644 --- a/components/radio/style/index.less +++ b/components/radio/style/index.less @@ -280,16 +280,16 @@ span.@{radio-prefix-cls} + * { } .@{radio-group-prefix-cls}-solid &-checked:not(&-disabled) { - color: @radtio-solid-checked-color; + color: @radio-solid-checked-color; background: @radio-dot-color; border-color: @radio-dot-color; &:hover { - color: @radtio-solid-checked-color; + color: @radio-solid-checked-color; background: @radio-button-hover-color; border-color: @radio-button-hover-color; } &:active { - color: @radtio-solid-checked-color; + color: @radio-solid-checked-color; background: @radio-button-active-color; border-color: @radio-button-active-color; } diff --git a/components/style/themes/dark.less b/components/style/themes/dark.less index c64b3a7bff..8850df5a60 100644 --- a/components/style/themes/dark.less +++ b/components/style/themes/dark.less @@ -240,6 +240,8 @@ // Radio // --- @radtio-solid-checked-color: @white; +// Keep typo compatible +@radio-solid-checked-color: @radtio-solid-checked-color; @radio-dot-disabled-color: fade(@white, 20%); // Radio buttons diff --git a/components/style/themes/default.less b/components/style/themes/default.less index d49ac1028d..69c68cbd94 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -247,6 +247,8 @@ @radio-dot-disabled-color: fade(@black, 20%); // solid text-color @radtio-solid-checked-color: @component-background; +// Keep typo compatible +@radio-solid-checked-color: @radtio-solid-checked-color; // Radio buttons @radio-button-bg: @btn-default-bg;