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
+4 -4
View File
@@ -39,7 +39,7 @@
@livewireStyles
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="min-h-screen bg-white text-zinc-900 antialiased dark:bg-zinc-800 dark:text-zinc-100">
<body class="min-h-screen bg-zinc-100 text-zinc-900 antialiased dark:bg-zinc-800 dark:text-zinc-100">
<a
href="#main-content"
class="sr-only focus:not-sr-only focus:fixed focus:start-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-white focus:px-4 focus:py-2 focus:text-zinc-900 focus:shadow-lg focus:outline-2 focus:outline-offset-2 focus:outline-blue-700"
@@ -48,9 +48,9 @@
</a>
@auth
<header class="border-b border-zinc-200 dark:border-zinc-700">
<header class="dark border-b border-zinc-700 bg-zinc-800 text-zinc-100">
<div class="mx-auto flex max-w-5xl flex-wrap items-center gap-x-6 gap-y-2 px-4 py-3 sm:px-6">
<a href="{{ route('home') }}" wire:navigate class="rounded font-semibold text-zinc-700 hover:text-zinc-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-700 dark:text-zinc-200 dark:hover:text-white">
<a href="{{ route('home') }}" wire:navigate class="rounded font-semibold text-zinc-200 hover:text-white focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-400">
{{ app(\App\Modules\Shared\Application\UseCases\CompanyDetailsStore::class)->menuName() }}
</a>
@@ -61,7 +61,7 @@
</nav>
<div class="flex flex-wrap items-center gap-3">
<span class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('layout.signed_in_as', ['name' => auth()->user()->name]) }}</span>
<span class="text-sm text-zinc-300">{{ __('layout.signed_in_as', ['name' => auth()->user()->name]) }}</span>
@include('partials.theme-toggle')