Files
CPLv4.0/utils/colors.ts
2025-03-19 07:20:46 +01:00

8 lines
302 B
TypeScript

const tailwindColors: Record<string, string> = {
"littwin-blue": "#00AEEF", // Hier alle Tailwind-Farben manuell eintragen
};
export const getColor = (colorName: string) => {
return tailwindColors[colorName] || colorName; // Falls die Farbe nicht existiert, wird der Name direkt zurückgegeben
};