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

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