Reputation: 515
I'm using sccs. But when I use rgb/rgba color, then showing error. Otherwise It's work very well.
Error message:
If I use this, It's working.
$color: #f5325c;
.class-name {
background-color: $color;
}
But If I use this, showing error:
$color:rgba(15,34,58,.12);
.class-name {
background-color: $color;
}
Please help!
Thanks!
Upvotes: 1
Views: 3074
Reputation: 702
I found that there is an issue with your scssphp compiler. It is not supporting the rgba value. Please see the thread. https://github.com/octobercms/october/issues/5058
Upvotes: 1
Reputation: 479
I don't really see a problem here in your scss code.
you can even use css variables if you want.
Upvotes: 0