TDRChart
This commit is contained in:
7
utils/colors.ts
Normal file
7
utils/colors.ts
Normal 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
|
||||
};
|
||||
Reference in New Issue
Block a user