fix: tweak card styling to have better contrast

This commit is contained in:
Aarnav Tale
2026-03-14 13:22:23 -04:00
parent e1808bee1e
commit b7a85684a9
+3 -4
View File
@@ -14,10 +14,9 @@ function Card({ variant = "raised", ...props }: Props) {
{...props} {...props}
className={cn( className={cn(
"w-full max-w-md rounded-lg p-5", "w-full max-w-md rounded-lg p-5",
variant === "flat" "bg-mist-50/50 dark:bg-mist-950/50",
? "bg-transparent shadow-none" variant === "flat" ? "shadow-none" : "shadow",
: "bg-mist-50/50 dark:bg-mist-950/50 shadow-surface", "border border-mist-200 dark:border-mist-800",
"border border-mist-100 dark:border-mist-800",
props.className, props.className,
)} )}
> >