Darken the dark canvas, add customer colours, the ongoing status and the board model
- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 / primary-100 and TallStackUI's dark labels, hints and checkbox labels are lightened so everything stays at 4.5:1. - Shared HexColor picks white or black text by the higher WCAG contrast; a native-dialog colour picker and a large work dialog component. - Customers get a header colour (customers.header_color), set on the customer page. - New job status Jatkuvat / Kausi (ongoing): open, never late, billed monthly like running jobs. - Kanban model: board columns and views, urgent threshold, per-user board preferences (density, column colours and sort), card positions, tasks of continuing jobs pinned to the board, MoveBoardCard and board queries with logged hours from TimeTracking. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -228,7 +228,7 @@ new class extends Component
|
||||
<div class="mx-auto max-w-2xl space-y-6 p-4 sm:p-6">
|
||||
<div class="space-y-1">
|
||||
<x-page-title icon="receipt-refund">{{ $this->heading() }}</x-page-title>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('expenses.fields.job') }}: {{ $job->label() }}</p>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('expenses.fields.job') }}: {{ $job->label() }}</p>
|
||||
</div>
|
||||
|
||||
@if ($job->isLocked)
|
||||
|
||||
@@ -161,7 +161,7 @@ new class extends Component
|
||||
<h2 id="expenses-heading" tabindex="-1" class="text-xl font-semibold focus:outline-none">{{ __('expenses.job_page.list') }}</h2>
|
||||
|
||||
@unless ($this->canSeeTotals)
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('expenses.amounts_hidden_help') }}</p>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-200">{{ __('expenses.amounts_hidden_help') }}</p>
|
||||
@endunless
|
||||
|
||||
@if ($this->expenses === [])
|
||||
@@ -174,7 +174,7 @@ new class extends Component
|
||||
|
||||
@interact('column_what', $expense)
|
||||
<span class="block font-medium break-words whitespace-normal">{{ $this->summaryText($expense) }}</span>
|
||||
<span class="block text-xs text-zinc-600 dark:text-zinc-300">
|
||||
<span class="block text-xs text-zinc-600 dark:text-zinc-200">
|
||||
{{ __('expenses.categories.'.$expense->category->value) }}, {{ __('expenses.payers.'.$expense->paidBy->value) }}
|
||||
</span>
|
||||
@endinteract
|
||||
|
||||
@@ -102,7 +102,7 @@ new class extends Component
|
||||
<div class="mx-auto max-w-5xl space-y-6 p-4 sm:p-6">
|
||||
<div class="space-y-2">
|
||||
<x-page-title icon="receipt-refund">{{ __('expenses.mine.title') }}</x-page-title>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-200">
|
||||
{{ __(auth()->user()?->can('expenses.record') ? 'expenses.mine.help' : 'expenses.mine.help_subcontractor') }}
|
||||
</p>
|
||||
</div>
|
||||
@@ -139,7 +139,7 @@ new class extends Component
|
||||
|
||||
@interact('column_what', $expense)
|
||||
<span class="block break-words whitespace-normal">{{ $this->summaryText($expense) }}</span>
|
||||
<span class="block text-xs text-zinc-600 dark:text-zinc-300">
|
||||
<span class="block text-xs text-zinc-600 dark:text-zinc-200">
|
||||
{{ __('expenses.categories.'.$expense->category->value) }}, {{ __('expenses.payers.'.$expense->paidBy->value) }}
|
||||
</span>
|
||||
@endinteract
|
||||
|
||||
Reference in New Issue
Block a user