@php /** * Branded shell for every system notification email. Fed by * {@see \App\Notifications\SystemNotification::toMail()}, so all alerts look * like one product instead of Laravel's stock markdown mailer. */ $primary = $setting?->primary_color ?: '#124a61'; $accent = $setting?->accent_color ?: '#2e86ab'; $tones = [ 'info' => ['bg' => '#eff6ff', 'border' => '#bfdbfe', 'text' => '#1d4ed8'], 'success' => ['bg' => '#ecfdf5', 'border' => '#a7f3d0', 'text' => '#047857'], 'warning' => ['bg' => '#fffbeb', 'border' => '#fde68a', 'text' => '#b45309'], 'danger' => ['bg' => '#fef2f2', 'border' => '#fecaca', 'text' => '#b91c1c'], ]; $t = $tones[$tone ?? 'info'] ?? $tones['info']; @endphp @if (! empty($recipientName))

{{ __('Hi :name,', ['name' => $recipientName]) }}

@endif

{{ $title }}

{{ $body }}
@if (! empty($details)) @foreach ($details as $label => $value) @endforeach
{{ $label }} {{ $value }}
@endif @if ($actionUrl)
{{ $actionLabel }}
@endif @if ($footnote)

{{ $footnote }}

@endif