smillart / Framework-SASS-Source-Files

Framework SASS Source Files is a Sass-powered framework accomplished by Sass variables, Sass maps, and utility CSS. Ready to use, drop it right into your Sass powered applications.
MIT License
0 stars 1 forks source link

Undefined operation: `calc($value / ($value * 0 + 1))` #13

Closed smillart closed 2 years ago

smillart commented 2 years ago

We have an error with build scripts, it is due to the operation within the calc() function in:

https://github.com/smillart/Framework-SASS-Source-Files/blob/78a0e048219b118fcf3463df7a9419787bac2c85/functions/helpers/general/_strip-units.scss#L21

Should be fixed using:

$strip: ($value * 0 + 1);
@return calc($value / $strip);
smillart commented 2 years ago

No need to revert changes we made for this fix. It seems that the compilation was completed without any error using the current (1.0.11) framework version.