fix: adjust button text colors for dark mode default buttons
All checks were successful
Staging Build / build (push) Successful in 2m37s
All checks were successful
Staging Build / build (push) Successful in 2m37s
This commit is contained in:
@@ -288,7 +288,7 @@ export function OrderWizard({
|
|||||||
variant={customerMode === 'select' ? 'default' : 'ghost'}
|
variant={customerMode === 'select' ? 'default' : 'ghost'}
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => setCustomerMode('select')}
|
onClick={() => setCustomerMode('select')}
|
||||||
className="gap-2 text-white"
|
className={`gap-2 ${customerMode === 'select' ? '' : 'text-white'}`}
|
||||||
>
|
>
|
||||||
<Building2 className="w-4 h-4" /> Bestandskunde wählen
|
<Building2 className="w-4 h-4" /> Bestandskunde wählen
|
||||||
</Button>
|
</Button>
|
||||||
@@ -296,7 +296,7 @@ export function OrderWizard({
|
|||||||
variant={customerMode === 'create' ? 'default' : 'ghost'}
|
variant={customerMode === 'create' ? 'default' : 'ghost'}
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => setCustomerMode('create')}
|
onClick={() => setCustomerMode('create')}
|
||||||
className="gap-2 text-white"
|
className={`gap-2 ${customerMode === 'create' ? '' : 'text-white'}`}
|
||||||
>
|
>
|
||||||
<UserPlus className="w-4 h-4" /> Neuen Kunden anlegen
|
<UserPlus className="w-4 h-4" /> Neuen Kunden anlegen
|
||||||
</Button>
|
</Button>
|
||||||
@@ -376,7 +376,7 @@ export function OrderWizard({
|
|||||||
<Button
|
<Button
|
||||||
onClick={handleCreateCustomer}
|
onClick={handleCreateCustomer}
|
||||||
disabled={isCreatingCustomer || !newCustomerForm.company_name.trim()}
|
disabled={isCreatingCustomer || !newCustomerForm.company_name.trim()}
|
||||||
className="gap-2 text-white"
|
className="gap-2"
|
||||||
>
|
>
|
||||||
{isCreatingCustomer ? <Loader2 className="w-4 h-4 animate-spin" /> : <UserPlus className="w-4 h-4" />}
|
{isCreatingCustomer ? <Loader2 className="w-4 h-4 animate-spin" /> : <UserPlus className="w-4 h-4" />}
|
||||||
Kunden speichern & auswählen
|
Kunden speichern & auswählen
|
||||||
@@ -390,7 +390,6 @@ export function OrderWizard({
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
<CardFooter className="flex justify-end border-t border-white/10 pt-6">
|
<CardFooter className="flex justify-end border-t border-white/10 pt-6">
|
||||||
<Button
|
<Button
|
||||||
className="text-white"
|
|
||||||
onClick={nextStep}
|
onClick={nextStep}
|
||||||
disabled={customerMode === 'select' && endCustomers.filter(c => !c.is_anonymized).length > 0 && !selectedEndCustomerId}
|
disabled={customerMode === 'select' && endCustomers.filter(c => !c.is_anonymized).length > 0 && !selectedEndCustomerId}
|
||||||
>
|
>
|
||||||
@@ -481,7 +480,7 @@ export function OrderWizard({
|
|||||||
<Button variant="ghost" className="text-white" onClick={prevStep}>
|
<Button variant="ghost" className="text-white" onClick={prevStep}>
|
||||||
<ChevronLeft className="mr-2 w-4 h-4" /> Zurück
|
<ChevronLeft className="mr-2 w-4 h-4" /> Zurück
|
||||||
</Button>
|
</Button>
|
||||||
<Button className="text-white" onClick={nextStep}>
|
<Button onClick={nextStep}>
|
||||||
Weiter zur Software <ChevronRight className="ml-2 w-4 h-4" />
|
Weiter zur Software <ChevronRight className="ml-2 w-4 h-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</CardFooter>
|
</CardFooter>
|
||||||
@@ -747,7 +746,7 @@ export function OrderWizard({
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
<CardFooter className="flex flex-col gap-2">
|
<CardFooter className="flex flex-col gap-2">
|
||||||
<Button
|
<Button
|
||||||
className="w-full h-12 text-lg text-white"
|
className="w-full h-12 text-lg"
|
||||||
onClick={nextStep}
|
onClick={nextStep}
|
||||||
disabled={!allCategoriesFilled}
|
disabled={!allCategoriesFilled}
|
||||||
>
|
>
|
||||||
@@ -879,7 +878,7 @@ export function OrderWizard({
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
<CardFooter className="flex flex-col gap-4">
|
<CardFooter className="flex flex-col gap-4">
|
||||||
<Button
|
<Button
|
||||||
className="w-full h-14 text-xl font-bold bg-primary hover:bg-primary/90 text-white"
|
className="w-full h-14 text-xl font-bold bg-primary hover:bg-primary/90"
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user