F
Filament2y ago
mini

Table Actions Custom Color

Is there any way we can change this button to custom color? Example: I want to change the button color to specific color with hex code. Can I do this?
Tables\Actions\EditAction::make()->color('#0390fc');
Tables\Actions\EditAction::make()->color('#0390fc');
3 Replies
toeknee
toeknee2y ago
->extraAttributes(['background-color' => '#0390fc']) Should work... but I would advise you use classes
mini
miniOP2y ago
it's still not showing the custom color. 😦
toeknee
toeknee2y ago
Ahh my bad ->extraAttributes(['style' => 'background-color:#0390fc;'])
Want results from more Discord servers?
Add your server