export interface RegionTheme { primary: string; primaryHover: string; primaryLight: string; secondary: string; badgeText: string; } export const REGION_THEMES: Record = { 'bourgogne-franche-comte': { primary: '#006837', primaryHover: '#00522b', primaryLight: '#eef5e6', secondary: '#8da300', badgeText: 'TER Bourgogne-Franche-Comté', }, 'occitanie': { primary: '#c0001a', primaryHover: '#990014', primaryLight: '#fde8ea', secondary: '#e60000', badgeText: 'liO Train Occitanie', }, 'provence-alpes-cote-azur': { primary: '#005088', primaryHover: '#003a63', primaryLight: '#e5f0f8', secondary: '#009fe3', badgeText: 'ZOU ! TER PACA', }, 'sud-provence-alpes-cote-d-azur': { primary: '#005088', primaryHover: '#003a63', primaryLight: '#e5f0f8', secondary: '#009fe3', badgeText: 'ZOU ! TER PACA', }, 'bretagne': { primary: '#0077b6', primaryHover: '#005b8c', primaryLight: '#e6f4fa', secondary: '#0096c7', badgeText: 'TER BreizhGo', }, 'grand-est': { primary: '#2b5c8f', primaryHover: '#1e4267', primaryLight: '#eaf0f6', secondary: '#4885c1', badgeText: 'TER Fluo Grand Est', }, 'normandie': { primary: '#d32f2f', primaryHover: '#b71c1c', primaryLight: '#fbe9e7', secondary: '#e53935', badgeText: 'TER Nomad Normandie', }, 'hauts-de-france': { primary: '#004b87', primaryHover: '#003663', primaryLight: '#e5edf5', secondary: '#0066b3', badgeText: 'TER Hauts-de-France', }, 'pays-de-la-loire': { primary: '#008459', primaryHover: '#006343', primaryLight: '#e6f5ef', secondary: '#00a872', badgeText: 'TER Aléop', }, 'nouvelle-aquitaine': { primary: '#0066a4', primaryHover: '#004c7a', primaryLight: '#e6f2fa', secondary: '#0085d0', badgeText: 'TER Nouvelle-Aquitaine', }, 'centre-val-de-loire': { primary: '#008080', primaryHover: '#006666', primaryLight: '#e6f2f2', secondary: '#00a3a3', badgeText: 'TER Rémi', }, 'auvergne-rhone-alpes': { primary: '#00609c', primaryHover: '#004875', primaryLight: '#e6f1f8', secondary: '#007bc7', badgeText: 'TER Auvergne-Rhône-Alpes', }, }; export function getRegionTheme(slug: string = 'bourgogne-franche-comte'): RegionTheme { const cleanSlug = (slug || 'bourgogne-franche-comte').toLowerCase(); return REGION_THEMES[cleanSlug] || REGION_THEMES['bourgogne-franche-comte']; }