Keep the header dark and give the light theme a grey content background

The header and its menu popovers always use the dark theme colours, the
light theme body is zinc-100 and Kanban columns zinc-200 so they still
stand out. The theme toggle icon follows the page theme through a new
page-dark variant, and TallStackUI hint and selection group description
texts are one shade darker to keep 4.5:1 contrast on the grey background.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-25 06:01:50 +02:00
co-authored by Claude Opus 5.5
parent 7d7b72989d
commit 6936d0950b
6 changed files with 34 additions and 14 deletions
@@ -205,7 +205,7 @@ new class extends Component
id="column-{{ $status }}"
wire:key="column-{{ $status }}"
aria-labelledby="column-{{ $status }}-heading"
class="flex min-w-0 flex-col rounded-lg border border-zinc-200 bg-zinc-100 p-3 dark:border-zinc-700 dark:bg-zinc-950"
class="flex min-w-0 flex-col rounded-lg border border-zinc-300 bg-zinc-200 p-3 dark:border-zinc-700 dark:bg-zinc-950"
>
<h2 id="column-{{ $status }}-heading" class="mb-3 flex items-baseline justify-between gap-2 text-base font-semibold">
{{ __('jobs.statuses.'.$status) }}
+14
View File
@@ -51,6 +51,20 @@ class AppServiceProvider extends ServiceProvider
->block('error')
->replace('text-red-600!', 'text-red-700! dark:!text-red-400');
TallStackUi::customize()
->form('hint')
->block('text')
->replace('text-gray-500', 'text-gray-600');
foreach (['radio.group', 'checkbox.group'] as $selectionGroup) {
foreach (['content.description', 'content.aside'] as $block) {
TallStackUi::customize()
->form($selectionGroup)
->block($block)
->replace('text-gray-500', 'text-gray-600');
}
}
TallStackUi::customize()
->select('native')
->block('error')