FilamentF
Filament12mo ago
15 replies
Jpac14

Using primary tailwind colours in blade view and render hook

Hi All,

I am trying to use the primary css colour in my blade view within a render hook see code below
admin-panel-badge.blade.php
<span 
  class="inline-flex items-center rounded-md bg-primary-50 px-2 py-1 text-xs font-medium text-primary-700 ring-1 ring-primary-700/10 ring-inset"
>
  Badge
</span>

AdminPanelProvider.php
Was this page helpful?