{{-- A job's priority: the colour dot is decoration, the text carries the meaning (never colour alone). "Heti" gets a striped dot. --}} @props(['priority']) @php $dot = match ($priority->value) { 'waiting' => 'bg-blue-600', 'normal' => 'bg-green-600', 'first' => 'bg-yellow-400', 'urgent' => 'bg-red-600', 'immediate' => 'bg-[repeating-linear-gradient(45deg,var(--color-orange-500)_0_3px,var(--color-red-700)_3px_6px)]', }; @endphp class('inline-flex items-center gap-2') }}> {{ __('jobs.priorities.'.$priority->value) }}