8000 refactor(CBadge): update badge colors · coreui/coreui-react@5775ccf · GitHub
[go: up one dir, main page]

Skip to content

Commit 5775ccf

Browse files
committed
refactor(CBadge): update badge colors
1 parent 1f6810c commit 5775ccf

File tree

1 file changed

+1
-1
lines changed
  • packages/coreui-react/src/components/badge

1 file changed

+1
-1
lines changed

packages/coreui-react/src/components/badge/CBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const CBadge: PolymorphicRefForwardingComponent<'span', CBadgeProps> = fo
6565
className={classNames(
6666
'badge',
6767
{
68-
[`bg-${color}`]: color,
68+
[`text-bg-${color}`]: color,
6969
'position-absolute translate-middle': position,
7070
'top-0': position?.includes('top'),
7171
'top-100': position?.includes('bottom'),

0 commit comments

Comments
 (0)
0