1616 use function Filament\Support\ get_color_css_variables ;
1717
1818 $colors = \Illuminate \Support \Arr:: toCssStyles ([
19- get_color_css_variables ($color , shades : [50 , 100 , 400 , 500 , 600 , 700 , 800 ]),
19+ get_color_css_variables ($color , shades : [50 , 100 , 400 , 500 , 700 , 800 ]),
2020 ]);
21-
2221@endphp
2322
2423<div x-data =" {}"
2524 @class ([
26- ' filament-simple-alert rounded-md bg-custom-50 p-4 dark:bg-gray-900 ' ,
27- ' ring-1 ring-custom-100 dark:ring-white/10 ' => $border ,
25+ ' filament-simple-alert rounded-md bg-custom-50 p-4 dark:bg-custom-400/10 ' ,
26+ ' ring-1 ring-custom-100 dark:ring-custom-500/70 ' => $border ,
2827 ] )
2928 style =" {{ $colors } }" >
30- <div class =" flex" >
29+ <div class =" flex gap-3 " >
3130 @if ($icon )
3231 <div @class ([
33- ' flex-shrink-0 ltr:mr-3 rtl:ml-3 ' ,
32+ ' flex-shrink-0' ,
3433 $iconVerticalAlignment === ' start' ? ' self-start' : ' self-center' ,
3534 ] )>
3635 <x-filament::icon
@@ -39,9 +38,9 @@ class="h-5 w-5 text-custom-400"
3938 />
4039 </div >
4140 @endif
42- <div class =" items-center flex-1 md:flex md:justify-between" >
41+ <div class =" items-center flex-1 md:flex md:justify-between space-y-3 md:space-y-0 md:gap-3 " >
4342 @if ($title || $description )
44- <div >
43+ <div class = " space-y-0.5 " >
4544 @if ($title )
4645 <p class =" text-sm font-medium text-custom-800 dark:text-white" >
4746 {{ $title } }
@@ -56,20 +55,20 @@ class="h-5 w-5 text-custom-400"
5655 @endif
5756 @if ($link || $actions )
5857 <div @class ([
59- ' flex gap-x-3 items-center' ,
58+ ' flex items-center gap-3 ' ,
6059 $actionsVerticalAlignment === ' start' ? ' self-start' : ' self-center' ,
6160 ] )>
62- <div class =" flex gap-x-3 items-center whitespace-nowrap" >
61+ <div class =" flex items-center whitespace-nowrap gap-3 " >
6362 @if ($link )
64- <p class =" text-sm ltr:md:ml-6 rtl:md:mr-6 md:mt-0 self-center" >
63+ <p class =" text-sm md:mt-0 self-center" >
6564 <a href =" {{ $link } }" {{ $linkBlank ? ' target="_blank"' : ' ' } } class =" whitespace-nowrap font-medium text-custom-400 hover:text-custom-500" >
6665 {{ $linkLabel } }
6766 <span aria-hidden =" true" > &rarr ; </span >
6867 </a >
6968 </p >
7069 @endif
7170 @if ($actions )
72- <div class =" ltr:md:ml-6 rtl:md:mr-6 gap-3 flex items-center justify-start" >
71+ <div class =" gap-3 flex items-center justify-start" >
7372 @foreach ($actions as $action )
7473 @if ($action -> isVisible () )
7574 {{ $action } }
@@ -82,4 +81,4 @@ class="h-5 w-5 text-custom-400"
8281 @endif
8382 </div >
8483 </div >
85- </div >
84+ </div >
0 commit comments