export const experienceTokens = {
  accent: "var(--experience-accent)",
  accentSoft: "var(--experience-accent-soft)",
  success: "var(--experience-success)",
  warning: "var(--experience-warning)",
  danger: "var(--experience-danger)",
} as const;

export const publishStatusLabels: Record<string, string> = {
  draft: "پیش‌نویس",
  published: "منتشر شده",
  archived: "بایگانی",
  active: "فعال",
  inactive: "غیرفعال",
};

export const publishStatusTone = (status: string): "default" | "success" | "warning" | "danger" => {
  if (status === "published" || status === "active") return "success";
  if (status === "draft") return "warning";
  if (status === "archived") return "danger";
  return "default";
};
