This commit is contained in:
Ismail Ali
2025-03-16 12:01:42 +01:00
parent 89994f767a
commit ea0e21892a
5 changed files with 62 additions and 10 deletions

7
utils/colors.ts Normal file
View File

@@ -0,0 +1,7 @@
const tailwindColors = {
"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
};