@php /** * Theme tokens — mirrors tailwind.config.js + resources/css/app.css design system. * Values are hex for maximum email-client compatibility. */ $t = [ 'brand' => '#3d2f7a', 'brandForeground' => '#ffffff', 'background' => '#f8fafc', 'foreground' => '#0f172a', 'card' => '#ffffff', 'muted' => '#f1f5f9', 'mutedForeground' => '#64748b', 'border' => '#e2e8f0', 'primary' => '#6366f1', 'primaryDark' => '#4f46e5', 'primarySoft' => '#eef2ff', 'primaryBorder' => '#c7d2fe', 'primaryText' => '#312e81', 'warningBg' => '#fffbeb', 'warningBorder' => '#fde68a', 'warningText' => '#92400e', 'warningStrong' => '#78350f', 'footerBg' => '#f8fafc', 'radiusSm' => '6px', 'radiusMd' => '8px', 'radiusLg' => '12px', 'radiusXl' => '16px', 'shadowCard' => '0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04)', 'fontFamily' => "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif", ]; $appName = $appName ?? config('app.name'); $emailTitle = $emailTitle ?? ($title ?? $appName); $preheader = $preheader ?? ''; $heading = $heading ?? null; $subheading = $subheading ?? null; $showLogo = $showLogo ?? true; $showBrandName = $showBrandName ?? true; $footerEmail = $footerEmail ?? null; $supportEmail = $supportEmail ?? config('mail.from.address'); $unsubscribeUrl = $unsubscribeUrl ?? null; $year = date('Y'); $logoUrl = $logoUrl ?? asset('logo/Chapter247LOGO.png'); if (! str_starts_with((string) $logoUrl, 'http')) { $logoUrl = url($logoUrl); } @endphp {{ $emailTitle }} @if(filled($preheader))
{{ $preheader }}
@endif