@props(['title', 'value', 'sub' => null, 'icon' => null, 'tone' => 'accent']) @php $tones = [ 'accent' => 'bg-accent-100 text-accent-700', 'emerald' => 'bg-emerald-100 text-emerald-700', 'amber' => 'bg-amber-100 text-amber-700', 'rose' => 'bg-rose-100 text-rose-700', 'sky' => 'bg-sky-100 text-sky-700', ]; @endphp

{{ $title }}

{{ $value }}

@if ($sub)

{{ $sub }}

@endif
@if ($icon) @endif