This commit is contained in:
Stefan ATZLESBERGER
2026-04-16 16:30:29 +02:00
parent c2b20a9f10
commit e5f77debc2
3 changed files with 14 additions and 15 deletions
+3 -3
View File
@@ -32,11 +32,11 @@ export function deadlineTone(deadlineAt: string | null | undefined): DeadlineTon
export function deadlineBadgeClass(tone: DeadlineTone): string {
switch (tone) {
case "upcoming":
return "border-blue-500/70 bg-blue-500/10 text-blue-800 dark:text-blue-200";
return "text-blue-500/70 text-blue-800 dark:text-blue-200";
case "today":
return "border-orange-500/80 bg-orange-500/15 text-orange-900 dark:text-orange-100";
return "text-orange-500/80 text-orange-900 dark:text-orange-100";
case "overdue":
return "border-destructive/80 bg-destructive/10 text-destructive";
return "text-destructive/80 text-destructive";
default:
return "";
}