© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
19 replies
Kanalaetxebarria

Tailwind Issues even with Custom Theme

Hi,

I'm having some issues with tailwind where certain classes are not being picked up. I've setup a custom theme and followed all the instructions and still can't get it to work right.

The issue is only happening on components that are under the /resources/views/filament/... it's also happening in a component that lives in that dir, but includes some livewire components living under /resources/views/livewire/...

Here's my main tailwind config:
content: [
        "./resources/**/*.blade.php",
        "./resources/**/*.js",
        "./node_modules/flowbite/**/*.js",
        "./app/Filament/**/*.php",
        "./resources/views/filament/**/*.blade.php",
        "./vendor/filament/**/*.blade.php",
    ],
content: [
        "./resources/**/*.blade.php",
        "./resources/**/*.js",
        "./node_modules/flowbite/**/*.js",
        "./app/Filament/**/*.php",
        "./resources/views/filament/**/*.blade.php",
        "./vendor/filament/**/*.blade.php",
    ],


Finally, my theme tailwind config:
content: [
        "./app/Filament/Talent/**/*.php",
        "./resources/views/filament/**/*.blade.php",
        "./vendor/filament/**/*.blade.php",
    ],
content: [
        "./app/Filament/Talent/**/*.php",
        "./resources/views/filament/**/*.blade.php",
        "./vendor/filament/**/*.blade.php",
    ],


Am I missing anything? Thanks!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

make use of tailwind layers in custom theme
FilamentFFilament / ❓┊help
3y ago
tailwind css classes not working in custom theme
FilamentFFilament / ❓┊help
3y ago
Tailwind content detection in custom theme not working
FilamentFFilament / ❓┊help
3y ago
Custom tailwind
FilamentFFilament / ❓┊help
3y ago