2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

try to fix test

This commit is contained in:
Mark Otto
2022-04-28 14:39:24 -07:00
parent 1cb695c5a4
commit 048626132a
+2 -1
View File
@@ -1,7 +1,8 @@
@each $color, $value in $theme-colors {
$color-rgb: to-rgb($value);
$color-alpha: var(--#{$prefix}bg-opacity, 1);
.text-bg-#{$color} {
color: color-contrast($value) !important; // stylelint-disable-line declaration-no-important
background-color: rgba($color-rgb, var(--#{$prefix}bg-opacity, 1)) !important; // stylelint-disable-line declaration-no-important
background-color: rgba($color-rgb, $color-alpha) !important; // stylelint-disable-line declaration-no-important
}
}