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}
className={cn(
"w-full max-w-md rounded-lg p-5",
variant === "flat"
? "bg-transparent shadow-none"
: "bg-mist-50/50 dark:bg-mist-950/50 shadow-surface",
"border border-mist-100 dark:border-mist-800",
"bg-mist-50/50 dark:bg-mist-950/50",
variant === "flat" ? "shadow-none" : "shadow",
"border border-mist-200 dark:border-mist-800",
props.className,
)}
>