How to easily customized the forms?

I'm aware that I can just write a css for each input. I'm just asking if there's a Filament way in customizing a form field e.g. instead of rounded-lg, i'm going to use rounded-sm
6 Replies
ZedoX
ZedoX2y ago
Please dont override the view file see why: https://filamentphp.com/blog/publishing-views-in-laravel
Filament
Publishing views in Laravel can be dangerous - how to stay safe by ...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Dennis Koch
Dennis Koch2y ago
A CSS file with a global rule?
Dan Harrin
Dan Harrin2y ago
or adjust the rounding value in tailwind.config
vahnmarty
vahnmartyOP2y ago
Ok, so i guess there's no Filament way, CSS it is. Thanks for the answers.
ZedoX
ZedoX2y ago
.filament .filament-forms-text-input-component
{
@apply rounded-sm;
}
.filament .filament-forms-text-input-component
{
@apply rounded-sm;
}
vahnmarty
vahnmartyOP2y ago
.filament-forms-text-input-component input
{
@apply rounded-md !important;
}
.filament-forms-text-input-component input
{
@apply rounded-md !important;
}
Want results from more Discord servers?
Add your server