removed dark mod and applied fixes for text colors

This commit is contained in:
Naser Mansour
2026-01-08 19:15:02 +02:00
parent ddbb224d07
commit dfee2ff5c8
64 changed files with 744 additions and 711 deletions
@@ -90,7 +90,7 @@ new class extends Component {
<div>
<div class="mb-6">
<flux:heading size="xl">{{ __('admin.working_hours') }}</flux:heading>
<flux:text class="mt-1 text-zinc-500 dark:text-zinc-400">
<flux:text class="mt-1 text-zinc-500">
{{ __('admin.working_hours_description') }}
</flux:text>
</div>
@@ -103,20 +103,20 @@ new class extends Component {
</div>
@endif
<div class="rounded-lg border border-zinc-200 bg-white p-6 dark:border-zinc-700 dark:bg-zinc-800">
<div class="rounded-lg border border-zinc-200 bg-white p-6">
<form wire:submit="save">
<div class="space-y-1">
@foreach (range(0, 6) as $day)
<div
wire:key="day-{{ $day }}"
class="flex flex-col gap-4 border-b border-zinc-200 py-4 last:border-b-0 dark:border-zinc-700 sm:flex-row sm:items-center"
class="flex flex-col gap-4 border-b border-zinc-200 py-4 last:border-b-0 sm:flex-row sm:items-center"
>
<div class="flex items-center gap-4 sm:w-48">
<flux:switch
wire:model.live="schedule.{{ $day }}.is_active"
aria-label="{{ __('admin.working_hours') }} - {{ \App\Models\WorkingHour::getDayName($day) }}"
/>
<span class="font-medium text-zinc-900 dark:text-zinc-100">
<span class="font-medium text-zinc-900">
{{ \App\Models\WorkingHour::getDayName($day) }}
</span>
</div>
@@ -129,7 +129,7 @@ new class extends Component {
wire:model.live="schedule.{{ $day }}.start_time"
class="w-36"
/>
<span class="text-zinc-500 dark:text-zinc-400">{{ __('admin.to') }}</span>
<span class="text-zinc-500">{{ __('admin.to') }}</span>
<flux:input
type="time"
wire:model.live="schedule.{{ $day }}.end_time"
@@ -138,7 +138,7 @@ new class extends Component {
</div>
<div class="flex items-center gap-2 text-sm">
<span class="text-zinc-500 dark:text-zinc-400">
<span class="text-zinc-500">
({{ $this->formatTime($schedule[$day]['start_time']) }} - {{ $this->formatTime($schedule[$day]['end_time']) }})
</span>
@php($slots = $this->getSlotCount($day))
@@ -160,13 +160,13 @@ new class extends Component {
</div>
@enderror
@else
<span class="text-zinc-400 dark:text-zinc-500">{{ __('admin.closed') }}</span>
<span class="text-zinc-400">{{ __('admin.closed') }}</span>
@endif
</div>
@endforeach
</div>
<div class="mt-6 flex justify-end border-t border-zinc-200 pt-6 dark:border-zinc-700">
<div class="mt-6 flex justify-end border-t border-zinc-200 pt-6">
<flux:button variant="primary" type="submit">
{{ __('admin.save_working_hours') }}
</flux:button>