0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/scss/utilities/_background.scss
2019-03-14 19:36:02 +02:00

22 lines
412 B
SCSS

// 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;
}