diff --git a/web/src/components/navigation/NavItem.tsx b/web/src/components/navigation/NavItem.tsx index 1b42e5f7b..b30fae18d 100644 --- a/web/src/components/navigation/NavItem.tsx +++ b/web/src/components/navigation/NavItem.tsx @@ -11,7 +11,7 @@ import { TooltipPortal } from "@radix-ui/react-tooltip"; const variants = { primary: { - active: "font-bold text-white bg-selected", + active: "font-bold bg-selected text-selected-foreground", inactive: "text-secondary-foreground bg-secondary", }, secondary: { diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx index b3b0e451f..685ab92a2 100644 --- a/web/src/components/ui/button.tsx +++ b/web/src/components/ui/button.tsx @@ -10,7 +10,7 @@ const buttonVariants = cva( variants: { variant: { default: "bg-secondary text-primary hover:bg-secondary/80", - select: "bg-selected text-white hover:bg-opacity-90", + select: "bg-selected text-selected-foreground hover:bg-opacity-90", destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90", outline: diff --git a/web/src/components/ui/calendar.tsx b/web/src/components/ui/calendar.tsx index 792df0890..387dfc879 100644 --- a/web/src/components/ui/calendar.tsx +++ b/web/src/components/ui/calendar.tsx @@ -41,7 +41,7 @@ function Calendar({ ), day_range_end: "day-range-end", day_selected: - "bg-selected text-white hover:bg-selected hover:text-white focus:bg-selected focus:text-white", + "bg-selected text-selected-foreground hover:bg-selected hover:text-selected-foreground focus:bg-selected focus:text-selected-foreground", day_today: "bg-muted text-muted-foreground", day_outside: "day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30", diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index def4aa972..5db36299d 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -561,7 +561,6 @@ function DetectionReview({ {(currentItems?.length ?? 0) > 0 && (itemsToReview ?? 0) > 0 && (