F
Filament10mo ago
toeknee

Colors and Froms/Tables in livewire component?

When using the livewire component how do we define what colors are used for the forms and tables component? Noting, this is outside Panels.
Solution:
So it was down to the tailwind colors class in the end, from v2->v3. Updated based on the filament present, and solved
Jump to solution
5 Replies
toeknee
toekneeOP10mo ago
Example of LW Component implementation of a required form field vs panels
No description
No description
toeknee
toekneeOP10mo ago
Partially Solved, need to include danger within the tailwind config. We don 't use the same pallete on the frontend components.
awcodes
awcodes10mo ago
Assuming you setup your app.css correctly, you can define the colors in a service provider. https://filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors
awcodes
awcodes10mo ago
Currently doing this in our apps where the frontend and filament are separate.
Solution
toeknee
toeknee10mo ago
So it was down to the tailwind colors class in the end, from v2->v3. Updated based on the filament present, and solved
Want results from more Discord servers?
Add your server