snapshot
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user