Change toast to brand color

Updated the "Added to cart" toast to use yellow/orange brand color for better consistency, replacing the previous green styling in the product card toast.

X-Lovable-Edit-ID: edt-6a59cdb0-cb00-4364-9298-4c6a292d3d1e
Co-authored-by: CyberTechDroid <229118619+CyberTechDroid@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-03-12 23:14:34 +00:00
commit b57a7f62e1

View file

@ -24,9 +24,9 @@ export function ProductCard({ product }: ProductCardProps) {
toast({
title: '✓ Added to cart',
description: product.name,
className: 'bg-green-600 text-white border-green-700 [&>div]:text-white',
className: 'bg-primary text-primary-foreground border-primary [&>div]:text-primary-foreground',
action: (
<Button size="sm" variant="outline" className="border-white text-white hover:bg-white/20 hover:text-white" onClick={() => setIsCartOpen(true)}>
<Button size="sm" variant="outline" className="border-primary-foreground text-primary-foreground hover:bg-primary-foreground/20 hover:text-primary-foreground" onClick={() => setIsCartOpen(true)}>
View Cart
</Button>
),