import { clsx } from "clsx";
import type { HTMLAttributes, ReactNode } from "react";
export function Card({ className, children, ...props }: HTMLAttributes & { children: ReactNode }) {
return (
{children}
);
}
export function StatCard({ label, value, detail, tone = "forest" }: { label: string; value: string; detail: string; tone?: "forest" | "indigo" | "saffron" | "coral" }) {
const color = {
forest: "text-forest dark:text-mint",
indigo: "text-indigo",
saffron: "text-saffron",
coral: "text-coral"
}[tone];
return (
{label}
{value}
{detail}
);
}