TorbatYar/frontend/modules/sports-center/design-system/tokens.ts
Mortezakoohjani 6f4a484051 Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture.
Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:28:27 +03:30

41 lines
1.1 KiB
TypeScript

/** Sports Center module visual tokens — energetic, premium sports palette. */
export const sportsCenterTokens = {
accent: "var(--sports-accent)",
accentSoft: "var(--sports-accent-soft)",
energy: "var(--sports-energy)",
success: "var(--sports-success)",
warning: "var(--sports-warning)",
danger: "var(--sports-danger)",
} as const;
export const lifecycleStatusLabels: Record<string, string> = {
draft: "پیش‌نویس",
active: "فعال",
inactive: "غیرفعال",
suspended: "معلق",
archived: "آرشیو",
};
export const memberStatusLabels: Record<string, string> = {
active: "فعال",
inactive: "غیرفعال",
suspended: "معلق",
cancelled: "لغو شده",
};
export const lifecycleStatusTone: Record<
string,
"default" | "primary" | "success" | "warning" | "danger" | "info"
> = {
draft: "default",
active: "success",
inactive: "default",
suspended: "warning",
archived: "danger",
cancelled: "danger",
frozen: "info",
expired: "danger",
pending: "warning",
confirmed: "success",
};