diff options
| author | Mark Otto <[email protected]> | 2017-06-28 09:29:59 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-06-28 09:29:59 -0700 |
| commit | 3e0375e03bd1bf75075ef3d7fc7ff867493adca5 (patch) | |
| tree | 0d0b8d44747dd0d6660101f199adefde76f15f5e /scss | |
| parent | 91b587ad6a2507461a0bcca5fbc2fc770c3bf1eb (diff) | |
| download | bootstrap-3e0375e03bd1bf75075ef3d7fc7ff867493adca5.tar.xz bootstrap-3e0375e03bd1bf75075ef3d7fc7ff867493adca5.zip | |
move list group variants to be generated from sass map
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_list-group.scss | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 96fd6f019..7e0b19e01 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -109,7 +109,6 @@ // Add modifier classes to change text and background color on individual items. // Organizationally, this must come after the `:hover` states. -@include list-group-item-variant(success, $state-success-bg, $state-success-text); -@include list-group-item-variant(info, $state-info-bg, $state-info-text); -@include list-group-item-variant(warning, $state-warning-bg, $state-warning-text); -@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text); +@each $color, $value in $theme-colors { + @include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6)); +} |
