/glozzom/scss/bootstrap/utilities/_background.scss

https://bitbucket.org/Trulsh/personal-bootstrap-projects · Sass · 19 lines · 14 code · 4 blank · 1 comment · 0 complexity · e733cf333823bd71687f542c67e18d4d MD5 · raw file

  1. // stylelint-disable declaration-no-important
  2. @each $color, $value in $theme-colors {
  3. @include bg-variant(".bg-#{$color}", $value);
  4. }
  5. @if $enable-gradients {
  6. @each $color, $value in $theme-colors {
  7. @include bg-gradient-variant(".bg-gradient-#{$color}", $value);
  8. }
  9. }
  10. .bg-white {
  11. background-color: $white !important;
  12. }
  13. .bg-transparent {
  14. background-color: transparent !important;
  15. }