Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dipeshkhanal79's avatar

Can we customize the background color of table striped property?

public static function table(Table $table): Table { return $table ->striped() // I want to customize the default background color of this striped columns. ->columns([ // columns ]) }

0 likes
1 reply
Merklin's avatar

Use your browser console to look at the HTML classes for a stripped row. There should be something like striped or filament-striped that does not have any actual CSS attached to it. You can then use this class in your app.cdd to set the desired background colour.

If it HAS an actual CSS attached to it, you can then use the ! to force your own background colour.

Please or to participate in this conversation.