Files
Gesti-n-Reservas-Naturcalab…/packages/shared/src/constants/origins.ts

45 lines
1.2 KiB
TypeScript

import type { ReservationOrigin } from '../types/reservation.js';
export interface OriginConfig {
label: string;
shortLabel: string;
color: {
dot: string;
border: string;
checkedBg: string;
checkedText: string;
calendarBg: string;
calendarBgDark: string;
calendarBorder: string;
};
}
export const ORIGIN_CONFIG: Record<ReservationOrigin, OriginConfig> = {
Teneriffa2000: {
label: 'Teneriffa',
shortLabel: 'Teneriffa',
color: {
dot: 'bg-blue-500',
border: 'peer-checked:border-blue-500',
checkedBg: 'peer-checked:bg-blue-50',
checkedText: 'peer-checked:text-blue-700',
calendarBg: 'bg-blue-600/30',
calendarBgDark: 'dark:bg-blue-500/30',
calendarBorder: 'border-l-4 border-blue-500',
},
},
Naturcalabacera: {
label: 'Natur',
shortLabel: 'Natur',
color: {
dot: 'bg-yellow-500',
border: 'peer-checked:border-yellow-500',
checkedBg: 'peer-checked:bg-yellow-50',
checkedText: 'peer-checked:text-yellow-700',
calendarBg: 'bg-yellow-500/30',
calendarBgDark: 'dark:bg-yellow-400/30',
calendarBorder: 'border-l-4 border-yellow-500',
},
},
};