fix text color on genai summary chip

This commit is contained in:
Josh Hawkins 2026-01-03 14:47:19 -06:00
parent 9f508fe990
commit 108cc36d68

View File

@ -26,7 +26,9 @@ export function GenAISummaryChip({ review }: GenAISummaryChipProps) {
className={cn( className={cn(
"absolute left-1/2 top-8 z-30 flex max-w-[90vw] -translate-x-[50%] cursor-pointer select-none items-center gap-2 rounded-full p-2 text-sm transition-all duration-500", "absolute left-1/2 top-8 z-30 flex max-w-[90vw] -translate-x-[50%] cursor-pointer select-none items-center gap-2 rounded-full p-2 text-sm transition-all duration-500",
isVisible ? "translate-y-0 opacity-100" : "-translate-y-4 opacity-0", isVisible ? "translate-y-0 opacity-100" : "-translate-y-4 opacity-0",
isDesktop ? "bg-card" : "bg-secondary-foreground", isDesktop
? "bg-card text-primary"
: "bg-secondary-foreground text-white",
)} )}
> >
<MdAutoAwesome className="shrink-0" /> <MdAutoAwesome className="shrink-0" />