@foreach($actions as $action)
'[&_button]:!:bg-gray-400 [&_button]:!text-gray-950',
'white' => '[&_button]:!bg-white [&_button]:text-gray-950',
default => '[&_button]:!bg-custom-400',
},
'hidden' => $action->isHidden(),
])>
{{ $action
->when(
$action->getColor() === null,
fn ($action) => $action->color($color)
)
}}
@endforeach
@endif