FilamentF
Filament2y ago
vas

make all tailwind classes available

Hi i have a custom infolists component which is a table and not many of the tailwind classes work

like bg-gray-100 would work but if i change it to something else it wont

i have created a new theme and reg like this

 ->viteTheme('resources/css/filament/admin/theme.css')


import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/app/theme.css','resources/css/filament/admin/theme.css'],
            refresh: true,
        }),
    ],
});


am i missing something ? thanks
Was this page helpful?