Form component colors not working in Livewire component

if i add a form with ToggleButton component to a livewire component, the colors don't work despite having a custom theme
Solution:
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
New user
New user
The problem is, that the button is rendered, without background color / border. The text is rendered in white properl...
Jump to solution
9 Replies
Hussain4real
Hussain4real4mo ago
No description
Dennis Koch
Dennis Koch4mo ago
Hussain4real
Hussain4real4mo ago
Should i define them in the boot method of the AdminPanelProvider?
Dennis Koch
Dennis Koch4mo ago
Add them to the AppServiceProvider. I thought this is standalone component? No admin panel?
Hussain4real
Hussain4real4mo ago
yes standalone, added it to AppServiceProvider but still same
Dennis Koch
Dennis Koch4mo ago
Did you add the colors to your theme, too? Can you share the tailwind config and the part of the component?
Hussain4real
Hussain4real4mo ago
it was the tailwind.config.js
Solution
Hussain4real
Hussain4real4mo ago
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
New user
New user
The problem is, that the button is rendered, without background color / border. The text is rendered in white properl...
Hussain4real
Hussain4real4mo ago
thanks a lot for your time