@include('emails.partials.brand-colors') {{-- Email Section Component - Highlighted content block Usage: @component('emails.components.section', ['background' => 'pearl', 'padding' => '25px'])
Section content goes here...
@endcomponent Props: - background: Color key from brand-colors (default: 'bg-section') - padding: CSS padding value (default: '25px') - borderRadius: CSS border-radius (default: '6px') --}} @php $bgColor = isset($background) && isset($colors[$background]) ? $colors[$background] : $colors['bg-section']; $padding = $padding ?? '25px'; $borderRadius = $borderRadius ?? '6px'; @endphp| {{ $slot }} |