aboutsummaryrefslogtreecommitdiffstats
path: root/src/scss/bootstrap/utilities/_background.scss
blob: f9fbb48b9d880530c999ad5c32244256ea0ac573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// stylelint-disable declaration-no-important

@each $color, $value in $theme-colors {
  .bg-#{$color} {
    background-color: $value !important;
  }
}

@if $enable-gradients {
  @each $color, $value in $theme-colors {
    @include bg-gradient-variant(".bg-gradient-#{$color}", $value);
  }
}

.bg-white {
  background-color: $white !important;
}

.bg-transparent {
  background-color: transparent !important;
}