diff --git a/components/badge/style/index.less b/components/badge/style/index.less index b5a984ca6e6a..1c87f843edf5 100644 --- a/components/badge/style/index.less +++ b/components/badge/style/index.less @@ -23,7 +23,7 @@ line-height: @badge-height; white-space: nowrap; text-align: center; - background: @badge-count-background; + background: @badge-color; border-radius: @badge-height / 2; box-shadow: 0 0 0 1px @shadow-color-inverse; a, diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 709a11eef010..fd951f27740a 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -662,7 +662,7 @@ @badge-font-weight: normal; @badge-status-size: 6px; @badge-text-color: @component-background; -@badge-count-background: @highlight-color; +@badge-color: @highlight-color; // Rate // ---