I am currently using SCSS for my project. However, I have run into an issue when trying to use RGB/RGBA colors, as it keeps showing an error message. Interestingly, everything else seems to be working perfectly fine.
Error message:
https://i.sstatic.net/Nlvpp.png
When I use the following code snippet, everything works smoothly:
$color: #f5325c;
.class-name {
background-color: $color;
}
But whenever I try to use RGBA color like this, it ends up displaying an error:
$color:rgba(15,34,58,.12);
.class-name {
background-color: $color;
}
I would greatly appreciate any help or advice on how to resolve this issue!
Thank you in advance!