govau/design-system-components

Table - add tfoot example and styling

gordongrace opened this issue · 2 comments

Example tables seem well-suited to inclusion of a tfoot element and associated styling, along with an example of a cell spanning multiple columns.

...
<tfoot class="au-table__footer">
  <tr class="au-table__row">
    <td class="au-table__cell">Total</td>
    <td class="au-table__cell au-table__cell--numeric">23,937,000‬</td>
    <td class="au-table__cell" colspan="2"></td>
  </tr>
</tfoot>
...

Consider how background colours for tfoot may clash with zebra styling on tbody rows.

Include example styling and rationale.