"use client"; import React from "react"; import type { LucideIcon } from "lucide-react"; const TONES = { green: { bg: "bg-emerald-50", icon: "text-emerald-600" }, blue: { bg: "bg-blue-50", icon: "text-blue-600" }, violet: { bg: "bg-violet-50", icon: "text-violet-600" }, amber: { bg: "bg-amber-50", icon: "text-amber-600" }, rose: { bg: "bg-rose-50", icon: "text-rose-600" }, gray: { bg: "bg-gray-100", icon: "text-gray-600" }, } as const; export type StatTileTone = keyof typeof TONES; export function StatTile({ icon: Icon, label, value, tone = "gray" }: { icon: LucideIcon; label: string; value: string; tone?: StatTileTone }) { const t = TONES[tone] || TONES.gray; return (