Unable to use colors on blade components in livewire form component
I have created a livewire form component using docs from https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component
Inside the component, I am using a filament blade component like this
The problem is, that the button is rendered, without background color / border. The text is rendered in white properly though. I tried with other variants like
My
The buttons are displayed correctly in the admin panel though.
I also tried to register the colors in
Inside the component, I am using a filament blade component like this
The problem is, that the button is rendered, without background color / border. The text is rendered in white properly though. I tried with other variants like
warning, danger etc, but nothing is displayed.My
tailwind.config.js looks like thisThe buttons are displayed correctly in the admin panel though.
I also tried to register the colors in
boot() method of AppServiceProvider , but no resultSolution
I was using
My
filament/filament panel builder and not installed form builder specifically. Followed this tailwindcss.config.js configuration and it worked. Thank you.My
tailwind.config.js file looks like this now