We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a72e27 commit 6c2c5cdCopy full SHA for 6c2c5cd
1 file changed
src/components/ui/card.tsx
@@ -40,7 +40,7 @@ function CardTitle({ gradient = true, className, ...props }: React.ComponentProp
40
<div
41
data-slot="card-title"
42
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`,
+ `${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`,
44
className
45
)}
46
{...props}
0 commit comments