From 7413cf04207bc18f8037f2b5603783c15552a8bb Mon Sep 17 00:00:00 2001 From: StephDietz Date: Mon, 10 Jul 2023 14:31:44 -0500 Subject: [PATCH] swap out neutral with gray --- components/cart/delete-item-button.tsx | 2 +- components/cart/edit-item-quantity-button.tsx | 6 +++--- components/cart/modal.tsx | 18 +++++++++--------- components/icons/cart.tsx | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/components/cart/delete-item-button.tsx b/components/cart/delete-item-button.tsx index 4f21f2ac9..05cce6ff3 100644 --- a/components/cart/delete-item-button.tsx +++ b/components/cart/delete-item-button.tsx @@ -28,7 +28,7 @@ export default function DeleteItemButton({ item }: { item: CartItem }) { }} disabled={isPending} className={clsx( - 'ease flex h-[17px] w-[17px] items-center justify-center rounded-full bg-neutral-500 transition-all duration-200', + 'ease flex h-[17px] w-[17px] items-center justify-center rounded-full bg-gray-500 transition-all duration-200', { 'cursor-not-allowed px-0': isPending } diff --git a/components/cart/edit-item-quantity-button.tsx b/components/cart/edit-item-quantity-button.tsx index 49127816e..7afdf23b1 100644 --- a/components/cart/edit-item-quantity-button.tsx +++ b/components/cart/edit-item-quantity-button.tsx @@ -42,7 +42,7 @@ export default function EditItemQuantityButton({ }} disabled={isPending} className={clsx( - 'ease flex h-full min-w-[36px] max-w-[36px] flex-none items-center justify-center rounded-full px-2 transition-all duration-200 hover:border-neutral-800 hover:opacity-80', + 'ease flex h-full min-w-[36px] max-w-[36px] flex-none items-center justify-center rounded-full px-2 transition-all duration-200 hover:border-gray-800 hover:opacity-80', { 'cursor-not-allowed': isPending, 'ml-auto': type === 'minus' @@ -52,9 +52,9 @@ export default function EditItemQuantityButton({ {isPending ? ( ) : type === 'plus' ? ( - + ) : ( - + )} ); diff --git a/components/cart/modal.tsx b/components/cart/modal.tsx index 071dde030..be2bbd78c 100644 --- a/components/cart/modal.tsx +++ b/components/cart/modal.tsx @@ -76,7 +76,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU leaveFrom="translate-x-0" leaveTo="translate-x-full" > - +

My Cart

@@ -111,7 +111,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU
  • @@ -122,7 +122,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU onClick={closeCart} className="z-30 flex flex-row space-x-4" > -
    +
    {item.merchandise.title !== DEFAULT_OPTION ? (

    {item.merchandise.title} @@ -155,7 +155,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU amount={item.cost.totalAmount.amount} currencyCode={item.cost.totalAmount.currencyCode} /> -

    +

    {item.quantity} @@ -168,8 +168,8 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU ); })} -

    -
    +
    +

    Taxes

    -
    +

    Shipping

    Calculated at checkout

    -
    +

    Total

    +
    {icon === 'close' ? ( ) : (