Tailwind colors of arbitrary div inside custom page

I have a Jetstream 4.0 / Livewire 3.0 / Filament 3.0 blank project (no custom themes, etc.). I created a new custom page, so the root element of the custom page's view is <x-filament-panels::page>. I made a div inside and am trying to apply Tailwind classes to it. Some work, some don't, so I'm confused as to what's going on. flex flex-col, font-semibold work, but colors don't (bg-indigo-500 text-red-500, etc.).
1 Reply
Hasnayeen
Hasnayeen15mo ago
because those classes are not in the compiled css files, you've to create a theme https://filamentphp.com/docs/3.x/panels/themes
Want results from more Discord servers?
Add your server