From de2e9f5e17fc1b420d34346f393832ab3e7a0888 Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Mon, 17 Jul 2023 20:07:06 -0500 Subject: [PATCH] Fixes variant disabled styles (#1090) --- components/product/variant-selector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/product/variant-selector.tsx b/components/product/variant-selector.tsx index aa780ff5d..52748ee68 100644 --- a/components/product/variant-selector.tsx +++ b/components/product/variant-selector.tsx @@ -119,7 +119,7 @@ export function VariantSelector({ 'cursor-default ring-2 ring-blue-600': isActive, 'ring-1 ring-transparent transition duration-300 ease-in-out hover:scale-110 hover:ring-blue-600 ': !isActive && isAvailableForSale, - 'relative z-10 cursor-not-allowed overflow-hidden bg-neutral-100 ring-1 ring-neutral-300 before:absolute before:inset-x-0 before:-z-10 before:h-px before:-rotate-45 before:bg-neutral-300 before:transition-transform dark:bg-neutral-900 dark:ring-neutral-700 before:dark:bg-neutral-700': + 'relative z-10 cursor-not-allowed overflow-hidden bg-neutral-100 text-neutral-400 ring-1 ring-neutral-300 before:absolute before:inset-x-0 before:-z-10 before:h-px before:-rotate-45 before:bg-neutral-300 before:transition-transform dark:bg-neutral-900 dark:text-neutral-600 dark:ring-neutral-700 before:dark:bg-neutral-700': !isAvailableForSale } )}