@php $colors = [ 'invoice' => 'bg-blue-100 text-blue-800 dark:bg-blue-900/40 dark:text-blue-300', 'client' => 'bg-green-100 text-green-800 dark:bg-green-900/40 dark:text-green-300', 'product' => 'bg-purple-100 text-purple-800 dark:bg-purple-900/40 dark:text-purple-300', 'order' => 'bg-orange-100 text-orange-800 dark:bg-orange-900/40 dark:text-orange-300', 'global_config' => 'bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300', ]; $cls = $colors[$type] ?? 'bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300'; @endphp {{ ucfirst(str_replace('_', ' ', $type)) }}