@php use Filament\Support\Enums\Alignment; use Filament\Support\Enums\VerticalAlignment; $color = $getColor() ?? 'gray'; $isInline = $isInline(); @endphp [ 'fi-inline', ], false => [ 'max-w-sm rounded-xl bg-white shadow-lg ring-1 dark:bg-gray-900', match ($color) { 'gray' => 'fi-color-gray ring-gray-950/5 dark:ring-white/10', default => 'fi-color-custom ring-custom-600/20 dark:ring-custom-400/30', }, ], }, ]) @style([ \Filament\Support\get_color_css_variables( $color, shades: [50, 400, 600], alias: 'notifications::notification', ) => ! ($isInline || $color === 'gray'), ]) >
null, default => 'bg-custom-50 dark:bg-custom-400/10', }, ]) > @if ($icon = $getIcon()) @endif
@if (filled($title = $getTitle())) {{ str($title)->sanitizeHtml()->toHtmlString() }} @endif @if (filled($date = $getDate())) {{ $date }} @endif @if (filled($body = $getBody())) {{ str($body)->sanitizeHtml()->toHtmlString() }} @endif @if ($actions = $getActions()) @endif