/** Cyclic color palette for milestone progress bars. */
export const MILESTONE_PALETTE = [
  'var(--color-primary)',
  'var(--color-success, #22c55e)',
  '#c98a00',
  '#8b5cf6',
  'var(--color-danger, #ef4444)',
  '#06b6d4',
]

export function milestoneColor(index: number): string {
  return MILESTONE_PALETTE[index % MILESTONE_PALETTE.length]
}
