Custom Row Classes - How to assign a different background color to each row (Category)
Hello.
I have a resource where the user assigns a special color of his choice (with ColorPicker::make()) and I would like in the list (table) to show every row with that color in the background (opacity 50%). I have tried, but it is not working because it seems that only tailwind predefined classes can be used.
I have used these examples in:
https://filamentphp.com/docs/3.x/tables/advanced#custom-row-classes
and changed to:
Any ideas whether this can be possible?
Thank you.
I have a resource where the user assigns a special color of his choice (with ColorPicker::make()) and I would like in the list (table) to show every row with that color in the background (opacity 50%). I have tried, but it is not working because it seems that only tailwind predefined classes can be used.
I have used these examples in:
https://filamentphp.com/docs/3.x/tables/advanced#custom-row-classes
and changed to:
Any ideas whether this can be possible?
Thank you.
