From 25703d400b69cfc25d89b2163b803ed434431f75 Mon Sep 17 00:00:00 2001 From: DanielS Date: Thu, 25 Jun 2026 09:10:38 +0200 Subject: [PATCH] fix: adjust button text colors for dark mode default buttons --- shop/components/order-wizard.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/shop/components/order-wizard.tsx b/shop/components/order-wizard.tsx index 142f339..b4cdf48 100644 --- a/shop/components/order-wizard.tsx +++ b/shop/components/order-wizard.tsx @@ -288,7 +288,7 @@ export function OrderWizard({ variant={customerMode === 'select' ? 'default' : 'ghost'} size="sm" onClick={() => setCustomerMode('select')} - className="gap-2 text-white" + className={`gap-2 ${customerMode === 'select' ? '' : 'text-white'}`} > Bestandskunde wählen @@ -296,7 +296,7 @@ export function OrderWizard({ variant={customerMode === 'create' ? 'default' : 'ghost'} size="sm" onClick={() => setCustomerMode('create')} - className="gap-2 text-white" + className={`gap-2 ${customerMode === 'create' ? '' : 'text-white'}`} > Neuen Kunden anlegen @@ -376,7 +376,7 @@ export function OrderWizard({ - @@ -747,7 +746,7 @@ export function OrderWizard({