- 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]>
16 lines
788 B
PHP
16 lines
788 B
PHP
{{--
|
|
What a list shows when it has no rows: a decorative icon, the message (default slot) and an optional
|
|
action (the `action` slot, e.g. a button to add the first row).
|
|
--}}
|
|
@props(['icon' => 'inbox'])
|
|
|
|
<div {{ $attributes->class('flex flex-col items-center gap-3 rounded-xl border border-dashed border-zinc-300 bg-white/60 px-4 py-8 text-center dark:border-zinc-600 dark:bg-zinc-900/60') }}>
|
|
<span class="flex size-12 items-center justify-center rounded-full bg-primary-50 text-primary-700 dark:bg-primary-400/15 dark:text-primary-200" aria-hidden="true">
|
|
<x-icon :name="$icon" class="size-6" />
|
|
</span>
|
|
<p class="max-w-prose text-sm text-zinc-700 dark:text-zinc-200">{{ $slot }}</p>
|
|
@isset($action)
|
|
<div>{{ $action }}</div>
|
|
@endisset
|
|
</div>
|