Closed patrick-leb closed 2 weeks ago
Please check the following docs: https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme.
Respectfully, I'm not looking at creating a new theme, I simply need a way to add a couple of tailwind classes here and there.
"Theme" might sound like a lot more, but essentially it's a compiled stylesheet. A theme is in fact what you should use to achieve your goal.
The only bit of info i could find was here: https://filamentphp.com/docs/3.x/tables/advanced#custom-row-classes
however, this was not enough in my case. I had add this to my AppServiceProvider as well:
I think its probably worth its own section too :)
EDIT: I just realized that this bricks artisan commands if you don't run
npm run build
first to have the manifest.json generated. This is probably not the best option.Donate 💰 to fund this issue