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 <[email protected]>
This commit is contained in:
@@ -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),
|
||||
])
|
||||
>
|
||||
<div @class(['font-semibold' => $day === now()->format('Y-m-d')])>{{ $this->dayLabel($day) }}</div>
|
||||
@@ -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 }};"
|
||||
></div>
|
||||
|
||||
Reference in New Issue
Block a user