export const COLORS = {
  codex: "#10a37f",
  claude: "#d97706",
  danger: "#ef4444",
  warning: "#f59e0b",
  disabled: "#e5e5e5",
  muted: "#a3a3a3",
  appBackground: "#090d11",
} as const;

export const PROGRESS_THRESHOLDS = {
  warning: 60,
  danger: 85,
} as const;

export const COUNTDOWN_INTERVAL_MS = 60_000;
export const RETRY_DELAY_MS = 5_000;

export function getUsageColor(percent: number): string {
  if (percent >= PROGRESS_THRESHOLDS.danger) return COLORS.danger;
  if (percent >= PROGRESS_THRESHOLDS.warning) return COLORS.warning;
  return COLORS.codex;
}
