Skip to content

Commit

Permalink
fix(css): avoid CSS compilation errors when customizing$prefix (#1609)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
  • Loading branch information
MewenLeHo and julien-deramond authored Nov 10, 2022
1 parent 3f0b460 commit 3f5c664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/mixins/_utilities.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Boosted mod
@function get-color-from-rgba-string($value) {
$func-prefix: "rgba(var(--bs-";
$func-prefix: "rgba(var(--" + $prefix;
$rgba-string-index-before-color-name: str-index($value, $func-prefix);
@if $rgba-string-index-before-color-name == 1 {
$rgba-string-index-after-color-name: str-index($value, "-rgb");
Expand Down

0 comments on commit 3f5c664

Please sign in to comment.