diff options
author | Mark Otto <markdotto@gmail.com> | 2017-06-28 19:36:27 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-06-28 19:36:27 +0300 |
commit | 0f232de9d794b75333899df2b2829d97c48179bc (patch) | |
tree | 34589de0fac063267a705a9561ef36090698a1e6 /scss | |
parent | 3e0375e03bd1bf75075ef3d7fc7ff867493adca5 (diff) |
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 90a5e69bb9..8b1f551a0d 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 |