31 lines
670 B
TypeScript
31 lines
670 B
TypeScript
/**
|
|
* Season Status Configuration
|
|
*
|
|
* UI display configuration for season states
|
|
*/
|
|
|
|
export type SeasonStatus = 'active' | 'upcoming' | 'completed';
|
|
|
|
export interface SeasonStatusConfigData {
|
|
color: string;
|
|
bg: string;
|
|
label: string;
|
|
}
|
|
|
|
export const seasonStatusConfig: Record<SeasonStatus, SeasonStatusConfigData> = {
|
|
active: {
|
|
color: 'text-performance-green',
|
|
bg: 'bg-performance-green/10',
|
|
label: 'Active Season',
|
|
},
|
|
upcoming: {
|
|
color: 'text-warning-amber',
|
|
bg: 'bg-warning-amber/10',
|
|
label: 'Starting Soon',
|
|
},
|
|
completed: {
|
|
color: 'text-gray-400',
|
|
bg: 'bg-gray-400/10',
|
|
label: 'Season Ended',
|
|
},
|
|
} as const; |