import { cn } from "@/lib/utils"; /** * Themed card primitive. Themes can restyle every card without touching * call sites by setting CSS vars under the `card` component-style bucket: * * componentStyles: * card: * clipPath: "polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px)" * border: "1px solid var(--color-ring)" * background: "linear-gradient(180deg, var(--color-card) 0%, transparent 100%)" * boxShadow: "0 0 0 1px var(--color-ring) inset, 0 0 24px -8px var(--warm-glow)" * * All properties are optional — vars that aren't set compute to their * CSS initial value, so the default shadcn-y card keeps looking normal * for themes that don't override anything. */ const CARD_STYLE: React.CSSProperties = { clipPath: "var(--component-card-clip-path)", borderImage: "var(--component-card-border-image)", background: "var(--component-card-background)", boxShadow: "var(--component-card-box-shadow)", }; export function Card({ className, style, ...props }: React.HTMLAttributes) { return (
); } export function CardHeader({ className, ...props }: React.HTMLAttributes) { return
; } export function CardTitle({ className, ...props }: React.HTMLAttributes) { return

; } export function CardDescription({ className, ...props }: React.HTMLAttributes) { return

; } export function CardContent({ className, ...props }: React.HTMLAttributes) { return

; }