Why some classes(hover) in extraImgAttributes() don’t work in ImageColumn?

Hey! I’m using Filament v3 and trying to add hover effects via Tailwind. The bg-gray-200 works, but hover:bg-gray-600 does nothing. what is the issue and how can I fix It?
No description
Solution:
The class probably doesn’t exist in the theme. If you want to use classes like this you’ll need to create a custom theme and include the file in the TW content to scan or safelist the class so it gets compiled into the theme correctly.
Jump to solution
1 Reply
Solution
awcodes
awcodes3w ago
The class probably doesn’t exist in the theme. If you want to use classes like this you’ll need to create a custom theme and include the file in the TW content to scan or safelist the class so it gets compiled into the theme correctly.

Did you find this page helpful?