From 7fba2711075425826ea3a323d81ca61f75d01cda Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Wed, 18 Mar 2026 19:42:39 +0100 Subject: [PATCH] refactor: improve colors --- .../backups/components/schedule-summary.tsx | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/app/client/modules/backups/components/schedule-summary.tsx b/app/client/modules/backups/components/schedule-summary.tsx index 58cb3ad6..f3353fc7 100644 --- a/app/client/modules/backups/components/schedule-summary.tsx +++ b/app/client/modules/backups/components/schedule-summary.tsx @@ -21,6 +21,7 @@ import { handleRepositoryError } from "~/client/lib/errors"; import { formatShortDateTime, formatTimeAgo } from "~/client/lib/datetime"; import { Link } from "@tanstack/react-router"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "~/client/components/ui/collapsible"; +import { cn } from "~/client/lib/utils"; type Props = { schedule: BackupSchedule; @@ -206,16 +207,32 @@ export const ScheduleSummary = (props: Props) => { {backupDetails && (schedule.lastBackupStatus === "warning" || schedule.lastBackupStatus === "error") && (
- - + + {schedule.lastBackupStatus === "warning" ? "Warning details" : "Error details"} - +

{backupDetails}