Browse Source

Fixed rgba conversion bug (#1405)

Ajai Danial 2 years ago
parent
commit
0c8310cf97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/scss/utils/_colors.scss

+ 1 - 1
src/scss/utils/_colors.scss

@@ -8,7 +8,7 @@
   .bg-#{"" + $color}-lt {
     --#{$prefix}bg-opacity: .1;
     --#{$prefix}text-opacity: 1;
-    color: rgba(var(--#{$prefix}#{$color}-rgb, var(--#{$prefix}text-opacity))) !important;
+    color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}text-opacity)) !important;
     background-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
   }
 }