Skip to content

Commit

Permalink
fix(badge): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoruiz committed May 9, 2023
1 parent 170aa60 commit 71ddf42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/badge/src/BadgeItem.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ export const styles = cva(
['inline-flex h-fit', 'empty:p-none', 'text-center font-bold', 'rounded-full ring-2'],
{
variants: {
intent: makeVariants<'intent', ['error', 'info']>({
intent: makeVariants<
'intent',
['primary', 'secondary', 'success', 'alert', 'danger', 'info', 'neutral', 'surface']
>({
primary: ['bg-primary', 'text-on-primary', 'ring-on-primary'],
secondary: ['bg-secondary', 'text-on-secondary', 'ring-on-secondary'],
success: ['bg-success', 'text-on-success', 'ring-on-success'],
Expand Down

0 comments on commit 71ddf42

Please sign in to comment.