{{-- Flash messages are rendered by the admin layout itself — no duplicate block here. --}} {{-- Mode switcher + actions --}}
@csrf @method('DELETE')
@csrf {{-- Hidden inputs synced from Alpine state — submitted on save. `name` is static Blade so the form still posts the field even if Alpine fails to mount; `:value` is reactive to Alpine state. --}} @foreach(['light', 'dark'] as $m) @foreach(array_keys($defaults['light']) as $tok) @endforeach @endforeach
{{-- LEFT: Color groups (spans 2 cols) --}}
{{-- Brand colors --}}

{{ __('Brand Colors') }}

{{ __('Primary identity — buttons, links, focus states.') }}

{{-- Status colors --}}

{{ __('Status Colors') }}

{{ __('Success, warning, danger, and info messages.') }}

{{-- Surface + text --}}

{{ __('Surface & Text') }}

{{ __('Backgrounds, cards, body text, borders.') }}

{{-- RIGHT: Live preview --}}

{{ __('Live Preview') }}

{{-- Header bar --}}
{{ \App\Helpers\BrandingHelper::name() }}
{{-- Body --}}
Sample heading text
This is muted helper text used in labels and captions.
{{-- Buttons --}}
{{-- Status pills --}}
Success Warning Danger Info
{{-- Link sample --}}

{{ __('Refresh any page after save to see changes site-wide.') }}

{{-- Inline script (admin layout doesn't expose a @stack('scripts'), so a @push() would be silently dropped and Alpine would init with empty data — leaving all swatches black and labels missing). --}}