vigetlabs / blendid

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
MIT License
4.97k stars 683 forks source link

SCSS compilation : rgba becomes hsla + throwing error #509

Closed xavianaxw closed 5 years ago

xavianaxw commented 6 years ago

I have a scenario when compiling my css where I have a property in my scss file that looks something like this:

$concrete: #f2f2f2;

.el {
   background-color: rgba($concrete, 0.75);
}

Upon compiling it will look something like this:

.el {
   background-color: hsla(0,0%,95%,.75);
}

which throws an invalid on Google Chrome.

benjtinsley commented 6 years ago

@xavianaxw what is your specific problem? is it not compiling to hsla or is chrome not accepting hsla syntax?

xavianaxw commented 6 years ago

I'll have to check. It's been awhile since it happened.