export const CATEGORY_COLORS: Record<string, string> = {
  groceries: "#22c55e",
  dining: "#f97316",
  transport: "#06b6d4",
  fuel: "#eab308",
  shopping: "#ec4899",
  utilities: "#8b5cf6",
  entertainment: "#f43f5e",
  travel: "#0ea5e9",
  health: "#10b981",
  insurance: "#64748b",
  subscriptions: "#a78bfa",
  cash_advance: "#dc2626",
  government: "#78716c",
  education: "#3b82f6",
  rent: "#d97706",
  transfers: "#6b7280",
  income: "#34d399",
  investment: "#818cf8",
  loan_interest: "#9f1239",
  fees: "#f87171",
  personal_care: "#fb7185",
  pets: "#86efac",
  gifts: "#fcd34d",
  charity: "#a3e635",
  home_goods: "#67e8f9",
  home_maintenance: "#c084fc",
  other: "#71717a",
};

// Ink & copper chart tokens — keep in sync with the @theme scales in globals.css.
export const CHART = {
  accent: "#bc6f30", // copper (indigo-500)
  accentSoft: "#d28a47", // copper light (indigo-400)
  positive: "#34d399",
  negative: "#e35f4b",
  axis: "#94896f", // muted paper (zinc-400)
  faint: "#6e644f", // zinc-500
  grid: "#242019", // zinc-800
  dim: "#332d23", // zinc-700 — de-emphasised series
};

export const TOOLTIP_STYLE = {
  background: "#171410",
  border: "1px solid #332d23",
  borderRadius: 8,
  fontSize: 12,
};
