© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
20 replies
Magikstah

Laravel mix error - when trying to build filament theme

Hello, i followed this guide here: https://filamentphp.com/docs/2.x/admin/appearance#building-themes - when I import filament.css in
/resources/css/filament.css
/resources/css/filament.css
with
@import '../../vendor/filament/filament/resources/css/app.css';
@import '../../vendor/filament/filament/resources/css/app.css';


Mix ends with error:

vendor/filament/filament/resources/css/app.css The `from-gray-200` class does not exist. If `from-gray-200` is a custom class, make sure it is defined within a `@layer` directive.
vendor/filament/filament/resources/css/app.css The `from-gray-200` class does not exist. If `from-gray-200` is a custom class, make sure it is defined within a `@layer` directive.
Filament
Appearance - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
Appearance - Admin Panel - Filament
Solution
Moving colors in tailwind config from module.export -> theme to module.export -> theme -> extends and removing plugin with addUtilities() resulted in fixing error, thanks everyone for your time im marking this as solved
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Installing Filament - Laravel Mix asset's wont compile
FilamentFFilament / ❓┊help
9mo ago
curl error when trying to composer install filament
FilamentFFilament / ❓┊help
2y ago
Mixed Content Error on Laravel Filament
FilamentFFilament / ❓┊help
3y ago
419 Error on fresh Laravel + Filament install
FilamentFFilament / ❓┊help
7mo ago