Adjust toast text color

Updated the "View Cart" toast button to use black text on the white button within the toasts, ensuring legibility. Modified ProductCard.tsx to apply proper text color for the button in the toast.

X-Lovable-Edit-ID: edt-af20a6cd-1ed6-4d33-af46-933a3c14e310
Co-authored-by: CyberTechDroid <229118619+CyberTechDroid@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-03-12 23:16:15 +00:00
commit 911f91f8a2

View file

@ -26,7 +26,7 @@ export function ProductCard({ product }: ProductCardProps) {
description: product.name,
className: 'bg-primary text-primary-foreground border-primary [&>div]:text-primary-foreground',
action: (
<Button size="sm" variant="outline" className="border-primary-foreground text-primary-foreground hover:bg-primary-foreground/20 hover:text-primary-foreground" onClick={() => setIsCartOpen(true)}>
<Button size="sm" variant="outline" className="border-foreground text-foreground hover:bg-foreground/10 hover:text-foreground" onClick={() => setIsCartOpen(true)}>
View Cart
</Button>
),