diff options
| author | Mark Otto <[email protected]> | 2017-06-28 09:36:27 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-06-28 09:36:27 -0700 |
| commit | 0f232de9d794b75333899df2b2829d97c48179bc (patch) | |
| tree | 34589de0fac063267a705a9561ef36090698a1e6 /scss | |
| parent | 3e0375e03bd1bf75075ef3d7fc7ff867493adca5 (diff) | |
| download | bootstrap-0f232de9d794b75333899df2b2829d97c48179bc.tar.xz bootstrap-0f232de9d794b75333899df2b2829d97c48179bc.zip | |
move table variants to use sass map
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_tables.scss | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss index 90a5e69bb..8b1f551a0 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -92,12 +92,9 @@ // Exact selectors below required to override `.table-striped` and prevent // inheritance to nested tables. -// Generate the contextual variants -@include table-row-variant(active, $table-active-bg); -@include table-row-variant(success, $state-success-bg); -@include table-row-variant(info, $state-info-bg); -@include table-row-variant(warning, $state-warning-bg); -@include table-row-variant(danger, $state-danger-bg); +@each $color, $value in $theme-colors { + @include table-row-variant($color, theme-color-level($color, -9)); +} // Inverse styles |
