diff --git a/packages/components/src/components/badge/badge.ts b/packages/components/src/components/badge/badge.ts index 4dc1a33e1..502882779 100644 --- a/packages/components/src/components/badge/badge.ts +++ b/packages/components/src/components/badge/badge.ts @@ -36,7 +36,7 @@ export default class SdBadge extends SolidElement { 'inline-flex items-center justify-center gap-x-[1px] text-center leading-none whitespace-nowrap border rounded-full select-none cursor-[inherit]', { /* variants */ - default: !this.inverted ? 'text-white bg-primary-500 border-white' : 'text-primary bg-white border-primary', + default: !this.inverted ? 'text-white bg-primary-500 border-white' : 'text-primary bg-accent border-accent', success: !this.inverted ? 'text-white bg-success border-white' : 'text-white bg-success border-primary', error: !this.inverted ? 'text-white bg-error border-white' : 'text-white bg-error border-primary' }[this.variant], diff --git a/packages/components/src/components/step-group/step-group.stories.ts b/packages/components/src/components/step-group/step-group.stories.ts index 163a7375c..1d6471158 100644 --- a/packages/components/src/components/step-group/step-group.stories.ts +++ b/packages/components/src/components/step-group/step-group.stories.ts @@ -198,11 +198,11 @@ export const Icon = { -
Label
+
Labol
- +
Label