allowing html in option labels of `select` component
I used the exact code in Filament's documentation
not only in my own project, but also I've tried it in Filament's demo project,
but none of the color related classes such as
text-*
or bg-*
are working.
this issue is while classes like italic
, font-bold
, line-through
are successfully applied.
Is it due to something I missed when configuring the project?2 Replies
I still have this issue 🤕
You need to create a custom theme if you are using tailwind classes that are not already used in Filament
https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme