export default {
...
content: [
'./app/Filament/**/*.php',
'./resources/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
extend: {
colors: {
'custom-red': {
500: '#ff0000'
},
}
}
...<x-filament-panels::page>
<div class="text-custom-red-500">Test color</div>
</x-filament-panels::page>php artisan make:provider FilamentColorServiceProviderboot() method I added : public function boot(): void
{
FilamentColor::register([
'custom-color' => Color::hex('#ff0000'),
]);
}