Browse Source

feat: 💄 Add @badge-color (#26159)

pull/26145/head
偏右 4 years ago
committed by GitHub
parent
commit
b8f05d3ae7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/badge/style/index.less
  2. 2
      components/style/themes/default.less

2
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,

2
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
// ---

Loading…
Cancel
Save