improve: dark theme
This commit is contained in:
@@ -65,7 +65,7 @@ const CartIndex = ({ }: Props) => {
|
||||
<>
|
||||
<button
|
||||
onClick={() => increment(0)}
|
||||
className="bg-white hover:bg-white/60 active:bg-white/30 rounded-sm p-1"
|
||||
className="bg-container hover:bg-container/60 active:bg-container/30 rounded-sm p-1"
|
||||
>
|
||||
<PlusIcon size={16} />
|
||||
</button>
|
||||
@@ -80,7 +80,7 @@ const CartIndex = ({ }: Props) => {
|
||||
</motion.div>
|
||||
<button
|
||||
onClick={() => decrement(0)}
|
||||
className="bg-white hover:bg-white/60 active:bg-white/30 rounded-sm p-1"
|
||||
className="bg-container hover:bg-container/60 active:bg-container/30 rounded-sm p-1"
|
||||
>
|
||||
{quantity > 1 ? <MinusIcon size={16} /> : <Trash className='stroke-foreground' size={16} />} {/* Use PlusIcon for decrement if quantity is 1 or less */}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user