mirror of
https://github.com/tale/headplane.git
synced 2026-08-31 09:18:29 +00:00
fix: tweak card styling to have better contrast
This commit is contained in:
@@ -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,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user