Skip to content

Commit

Permalink
Components/Card: Fix text color on solid foreground variant.
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphsps committed Sep 24, 2024
1 parent 828616c commit 7bc47f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-seas-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@nordcom/nordstar-card': patch
---

- Fix text color on solid foreground variant.
2 changes: 1 addition & 1 deletion packages/components/card/src/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const variants = cva(cn('group overflow-hidden rounded-lg border-2 border-solid
{
color: 'foreground',
variant: 'solid',
class: 'border-background-highlight [&>[data-divider]]:bg-background-highlight'
class: 'border-background-highlight text-background [&>[data-divider]]:bg-background-highlight'
}
],
defaultVariants: {
Expand Down

0 comments on commit 7bc47f8

Please sign in to comment.