Empty CSS when creating a new theme, not extending the default
was trying to create a new theme to overwrite just a few rules, followed all the instructions but I'm getting a basically empty CSS file
resources/css/filament/admin/theme.css:
That first link (theme.css) contains just this:
That one, if opened, contains this:
I did run build, but as soon as I add
What am I missing?
resources/css/filament/admin/theme.css:
That first link (theme.css) contains just this:
That one, if opened, contains this:
I did run build, but as soon as I add
->viteTheme('resources/css/filament/admin/theme.css') to the AdminPanelProvider I'm getting the ugliest site everWhat am I missing?
Solution
try this postcss.config:
```
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
```
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}