Usually this should be handled by the currently active theme within home-assistant. Nevertheless, one might want to have more control how flex-table-card is shown.