@php $heading = $this->getHeading(); $filters = $this->getFilters(); @endphp
{{ $heading }} @if ($filters) @foreach ($filters as $val => $label) @endforeach @endif
@php $description = $this->getCachedData()['description']; $value = $this->getCachedData()['value']; $color = $this->getCachedData()['color']; $icon = $this->getCachedData()['icon']; $descriptionIconClasses = \Illuminate\Support\Arr::toCssClasses([ 'fi-wi-stats-overview-card-description-icon h-5 w-5', match ($color) { 'gray' => 'text-gray-400 dark:text-gray-500', default => 'text-custom-600 dark:text-custom-500', }, ]); $descriptionIconStyles = \Illuminate\Support\Arr::toCssStyles([ \Filament\Support\get_color_css_variables($color, shades: [500,600]) => $color !== 'gray', ]); @endphp
{{ $value }}
'text-gray-500 dark:text-gray-400', default => 'text-custom-600 dark:text-custom-500', }, ]) @style([ \Filament\Support\get_color_css_variables($color, shades: [500, 600]) => $color !== 'gray', ]) > {{ $description }}