mirror of
https://gitlab.com/davidels1986/ore-cart-checkout.git
synced 2026-10-29 18:54:58 +00:00
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:
commit
b57a7f62e1
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue