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 with @import '../../vendor/filament/filament/resources/css/app.css';
x 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.
Filament
The elegant TALL stack admin panel for Laravel artisans.
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
Was this page helpful?