could this not be done more cleanly with some nested scss
.table-wrapper > .table {
    thead,tbody, tfoot, etc
}

also why so specific, why not
.table-wrapper th