import { clsx, type ClassValue } from "clsx" import { twMerge } from "tailwind-merge" export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) } export const IUCN_STATUS_COLORS = { NE: 'bg-gray-400 text-gray-900', DD: 'bg-gray-500 text-white', LC: 'bg-green-500 text-white', NT: 'bg-yellow-400 text-gray-900', VU: 'bg-orange-500 text-white', EN: 'bg-red-500 text-white', CR: 'bg-red-700 text-white', EW: 'bg-purple-500 text-white', EX: 'bg-black text-white', }; export const IUCN_STATUS_PROGRESS = { NE: 0, DD: 10, LC: 25, NT: 40, VU: 55, EN: 70, CR: 85, EW: 95, EX: 100, };