Files
petriandClaude Opus 5.5 51b40b24fe Give the UI an indigo look with cards, status badges and empty states
- Dark indigo header and tinted page background; the mobile main menu gets
  its own row, in the same order as the keyboard reaches it.
- Page titles with an icon chip (x-page-title, x-page, x-page-header) and
  card sections (x-panel, the card utility); x-table styled as a card with
  an indigo header row in AppServiceProvider::styleTables().
- Job and task statuses, late work, unapproved hours and stock states as
  badges with icon and text (x-status-badge, x-jobs.status,
  x-jobs.task-status), never colour alone.
- Empty lists as x-empty-state; dashboard quick link tiles, week hour bars
  and trend arrows; Kanban columns and task cards edged by status; calendar
  today column and bar accents; quick sale, reports and machine console
  restyled; signed-out pages show the app name.
- Focus rings use the primary colour in both themes (white in the header).
- Document the components in CLAUDE.md; test the status badges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 10:53:10 +02:00

55 lines
2.3 KiB
PHP

<!DOCTYPE html>
{{--
Full-screen layout of the machine console (spec 19.6) for the tablet or
touch screen next to a machine: no main menu, large text. The page's own
header has the machine's name, the user, Refresh, Change user and the
way back. The theme follows the stored choice like the main layout.
--}}
<html
lang="{{ str_replace('_', '-', app()->getLocale()) }}"
x-data="tallstackui_darkTheme({ default: 'system' })"
x-bind:class="{ 'dark': darkTheme }"
>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ $title ?? config('app.name') }}</title>
<script>
(() => {
const applyStoredTheme = () => {
const stored = localStorage.getItem('dark-theme');
const dark = stored === 'dark' || stored === 'true'
|| (stored !== 'light' && stored !== 'false' && window.matchMedia('(prefers-color-scheme: dark)').matches);
document.documentElement.classList.toggle('dark', dark);
};
applyStoredTheme();
document.addEventListener('livewire:navigating', (event) => event.detail.onSwap(applyStoredTheme));
})();
</script>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=inter:400,500,600&display=swap" rel="stylesheet" />
@include('partials.tallstackui-script')
@livewireStyles
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="min-h-screen bg-canvas text-lg text-zinc-900 antialiased dark:bg-canvas-dark 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-primary-600 dark:focus:outline-primary-300"
>
{{ __('layout.skip_to_content') }}
</a>
<main id="main-content" tabindex="-1" class="focus:outline-none">
{{ $slot }}
</main>
@livewireScripts
</body>
</html>