F
Filament13mo ago
MKD

Why isn't my record classes not working?

I have updated my tailwind config and I use the record class as the docs say. The classes are being set, but there is no change in the row the styling is not applying.
No description
No description
Solution:
Well, there's your issue. The classes aren't used within Filament, so you need a custom theme to include theme. Follow the theme docs and come back if you get stuck.
Jump to solution
10 Replies
Dennis Koch
Dennis Koch13mo ago
You did recompile your custom theme?
MKD
MKDOP13mo ago
Nope, how do I recompile it ? It is not a custom theme tho.
Solution
Dennis Koch
Dennis Koch13mo ago
Well, there's your issue. The classes aren't used within Filament, so you need a custom theme to include theme. Follow the theme docs and come back if you get stuck.
MKD
MKDOP13mo ago
I have followed the docs of updating tailwind.config.js but let me check the theme docs, thank you.
Shaung Bhone
Shaung Bhone13mo ago
that function is not working I need to create theme first?
Dennis Koch
Dennis Koch13mo ago
As I mentioned above: If you use classes that don't exist in Filaments theme, you need to create a theme
MKD
MKDOP13mo ago
Fixed You must create a custom theme in order for filament to use classes that do not exit in filament themes.
MKD
MKDOP13mo ago
Thank you
Want results from more Discord servers?
Add your server