@props(['variant' => 'neutral']) @php $v = [ 'ok' => 'bg-ok text-[#0b4a1c]', 'warn' => 'bg-warn text-[#5c4300]', 'bad' => 'bg-bad text-[#7a1020]', 'neutral' => 'bg-surface-alt text-ink ring-1 ring-line', 'brand' => 'bg-turquoise text-navy', ][$variant] ?? ''; @endphp merge(['class' => 'inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold '.$v]) }}>{{ $slot }}