import type { ReactNode } from 'react' export default function Badge({ children, tone = 'neutral', className = '', }: { children: ReactNode tone?: 'neutral' | 'accent' | 'warn' | 'danger' className?: string }) { const map = { neutral: 'bg-[var(--color-surface-strong)] text-[var(--color-ink)]', accent: 'bg-[var(--color-accent)]/10 text-[var(--color-accent-strong)]', warn: 'bg-amber-50 text-amber-700', danger: 'bg-red-50 text-red-700', } as const return ( {children} ) }