feat(uti): Move directory
[csit.git] / csit.infra.dash / app / pal / static / sass / bootstrap / helpers / _color-bg.scss
1 // stylelint-disable function-name-case
2
3 // All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
4 @each $color, $value in $theme-colors {
5   $color-rgb: to-rgb($value);
6   .text-bg-#{$color} {
7     color: color-contrast($value) if($enable-important-utilities, !important, null);
8     background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
9   }
10 }