Skip to content

Commit

Permalink
fix(Badge): change badge default color to umi.mentioned and text co…
Browse files Browse the repository at this point in the history
…lor to `umi.text`
  • Loading branch information
ZouYouShun authored and 233mawile-rc committed Sep 19, 2022
1 parent 80fc1a0 commit 0258805
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/juno-core/src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import { BadgeStyle } from './styles';
import { RcBadgeClasses, useRoundBadgeOffset } from './utils';

type RcBadgeProps = {
/** tag color, default is `highlight.b03` */
/** tag color, default is `umi.mentioned` */
color?: RcPaletteKeys;
/** text color, default is `neutral.f01` */
/** text color, default is `umi.text` */
textColor?: RcPaletteKeys;
/** tag border color */
borderColor?: RcPaletteKeys;
Expand Down Expand Up @@ -169,8 +169,8 @@ const RcBadge = styled(_RcBadge)`
`;

RcBadge.defaultProps = {
color: 'highlight.b03',
textColor: 'neutral.f01',
color: 'umi.mentioned',
textColor: 'umi.text',
overlap: 'rectangular',
anchorOrigin: {
horizontal: 'right',
Expand Down
2 changes: 1 addition & 1 deletion sync-github.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"latestCommitSHA": "7fa0cba5400b86a60bae28831bd0da46d34b5446"
"latestCommitSHA": "cacf6cdeeff90f503ce00455ab9b26f56f3dd211"
}

0 comments on commit 0258805

Please sign in to comment.