@props(['variant' => 'ok']) @php $v = ['ok' => 'bg-ok text-[#0b4a1c]', 'warn' => 'bg-warn text-[#5c4300]', 'bad' => 'bg-bad text-[#7a1020]'][$variant] ?? ''; @endphp
merge(['class' => 'rounded-xl px-4 py-3 text-sm font-semibold '.$v]) }}>{{ $slot }}