1 // stylelint-disable function-name-case
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);
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);