bg-[color] not applying
bg-black does not work, but only bg-black/50 works. I removed tailwind 4 from dependencies and added 3 by follwing the docs.
Solution:Jump to solution
adding
'./resources/views/livewire/*.blade.php',
this to panel specific tailwind config fixed the isssue......
12 Replies
bg-gray-950 does not work
Did you create a custom theme?
I followed the docs and i've this
`
Did you recompile the theme after adding the TW classes?
yes, indeed, but i've a livewire component injecting it using the render hook
So you use the TW classes in the LW component or the blade? Both files are probably not covered by
content
config in the Tailwind config file.in the blade.php file
Is the Blade file located in
'./resources/views/filament/admin/**/*.blade.php',
?thats a very good point, i'll add livewire path to content
in the root tailwind config
i believe this is covering everything under resources.
my livewire blade file under resources/views/livewire
Root Tailwind Config !== Filament Tailwind Config
Those are 2 separate files
Solution
adding
'./resources/views/livewire/*.blade.php',
this to panel specific tailwind config fixed the isssue...
Thanks.