From c2265256c36872240409a909812ac24b65661bb0 Mon Sep 17 00:00:00 2001 From: Petri Saarinen Date: Wed, 25 Nov 2026 06:28:39 +0200 Subject: [PATCH] Set weekends apart in the dark calendar and make invoice cards white Days off in the task calendar used the dark page colour, so they did not show in the dark theme: they are zinc-950 now. Invoice cards on the billing material page get a white background (zinc-900 in dark mode) so they stand out from the grey page. Co-Authored-By: Claude Opus 5.5 --- app/Modules/Billing/Presentation/Livewire/⚡export.blade.php | 2 +- app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php b/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php index af46740..8d7b7dd 100644 --- a/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php +++ b/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php @@ -384,7 +384,7 @@ new class extends Component @endif @foreach ($export->invoices as $invoiceNumber => $invoice) -
+

{{ __('billing.invoices.heading', ['number' => $invoiceNumber + 1, 'customer' => $invoice->customerName]) }}

diff --git a/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php b/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php index 2ca38a0..cb5c9cd 100644 --- a/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php +++ b/app/Modules/Jobs/Presentation/Livewire/⚡calendar.blade.php @@ -556,7 +556,7 @@ new class extends Component wire:key="head-{{ $day }}" @class([ 'border-l border-zinc-200 px-1 py-2 text-center dark:border-zinc-700', - 'bg-zinc-200 dark:bg-zinc-800' => $this->isDayOff($day), + 'bg-zinc-200 dark:bg-zinc-950' => $this->isDayOff($day), ]) >
$day === now()->format('Y-m-d')])>{{ $this->dayLabel($day) }}
@@ -602,7 +602,7 @@ new class extends Component x-bind:class="isTarget('{{ $day }}', '{{ $row->userId ?? '' }}') && 'outline-2 -outline-offset-2 outline-blue-700 dark:outline-blue-300'" @class([ 'min-h-12 border-l border-zinc-200 dark:border-zinc-700', - 'bg-zinc-200 dark:bg-zinc-800' => $this->isDayOff($day), + 'bg-zinc-200 dark:bg-zinc-950' => $this->isDayOff($day), ]) style="grid-column: {{ $index + 2 }}; grid-row: 1 / span {{ $row->lanes + 1 }};" >