add variables for setting background-color thead, tbody, tfoot (#2206)

* add variables for setting background-color thead, tbody, tfoot

* update changelog
This commit is contained in:
Jonathan Taylor 2018-10-31 09:35:42 -04:00 committed by Jeremy Thomas
parent 2eed7b3994
commit dfd0b88c2c
2 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,7 @@
## 0.7.3
### New features
* #2206 Fix #2046 -> Set background-color for Tables via sass vars
* #2145 Fix #372 -> New indeterminate progress bars
### Improvements

View File

@ -11,6 +11,10 @@ $table-head-cell-color: $text-strong !default
$table-foot-cell-border-width: 2px 0 0 !default
$table-foot-cell-color: $text-strong !default
$table-head-background-color: transparent !default
$table-body-background-color: transparent !default
$table-foot-background-color: transparent !default
$table-row-hover-background-color: $white-bis !default
$table-row-active-background-color: $primary !default
@ -62,16 +66,19 @@ $table-striped-row-even-hover-background-color: $white-ter !default
border-color: $table-row-active-color
color: currentColor
thead
background-color: $table-head-background-color
td,
th
border-width: $table-head-cell-border-width
color: $table-head-cell-color
tfoot
background-color: $table-foot-background-color
td,
th
border-width: $table-foot-cell-border-width
color: $table-foot-cell-color
tbody
background-color: $table-body-background-color
tr
&:last-child
td,