import type { SuggestionType } from '../../api/client'

// Per-type accent color + human label, mirroring the design tokens. Shared by the
// inline hover SuggestionCard and the margin SuggestionRail so a given suggestion
// type reads the same color/name wherever it surfaces.
export const TYPE_META: Record<SuggestionType, { color: string; label: string }> = {
  grammar: { color: 'var(--color-mint)', label: 'Grammar' },
  phrasing: { color: 'var(--color-peach)', label: 'Phrasing' },
  idiom: { color: 'var(--color-lavender)', label: 'Idiom' },
  clarity: { color: 'var(--color-sky)', label: 'Clarity' },
  voice: { color: 'var(--color-honey)', label: 'Voice' },
  collocation: { color: 'var(--color-blossom)', label: 'Word pairing' },
}
