import type { ComponentProps } from 'react' import { cn } from '@/lib/utils' export type StatusTone = 'good' | 'muted' | 'warn' | 'bad' const TONE_BG: Record = { good: 'bg-primary', muted: 'bg-muted-foreground/40', warn: 'bg-amber-500', bad: 'bg-destructive' } interface StatusDotProps extends ComponentProps<'span'> { tone: StatusTone } export function StatusDot({ className, tone, ...props }: StatusDotProps) { return (