Skip to content

Commit 6c2c5cd

Browse files
committed
fix: text transparency to see gradient
1 parent 6a72e27 commit 6c2c5cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ui/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function CardTitle({ gradient = true, className, ...props }: React.ComponentProp
4040
<div
4141
data-slot="card-title"
4242
className={cn(
43-
`${gradient ? "bg-linear-to-b from-blue-secondary to-blue-primary bg-clip-text" : ""} font-medium text-[1.5rem] leading-snug group-data-[size=sm]/card:text-base`,
43+
`${gradient ? "bg-linear-to-b from-blue-secondary to-blue-primary bg-clip-text text-transparent" : ""} font-medium text-[1.5rem] leading-snug group-data-[size=sm]/card:text-base`,
4444
className
4545
)}
4646
{...props}

0 commit comments

Comments
 (0)