This commit is contained in:
Cron1cle committed 2025-10-09 17:20:40 +02:00
1 parent c116352310
commit aedd87416f
10 files changed
+141 -50

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
export type ShowDetailColors = {
tabColor: string;
seasonColor: string;
};
export const ShowColors: Record<number, ShowDetailColors> = {
1: { tabColor: "#009fe2", seasonColor: "#ec5691" },
2: { tabColor: "#ffffff", seasonColor: "#3fa8f3" },
3: { tabColor: "#ffffff", seasonColor: "#000000" },
4: { tabColor: "#8fb4f3", seasonColor: "#4b046c" },
5: { tabColor: "#ffffff", seasonColor: "#000000" },
6: { tabColor: "#ffffff", seasonColor: "#ff0000" },
7: { tabColor: "#25322c", seasonColor: "#957a45" },
8: { tabColor: "#ffffff", seasonColor: "#0179b5" },
};
export function getShowColors(showId: number): ShowDetailColors {
if (!showId) return { tabColor: "#009fe2", seasonColor: "#ec5691" };
return ShowColors[showId] || { tabColor: "#009fe2", seasonColor: "#ec5691" };
}