Hello all, We have been testing the Dart-sass chan...
# suitecommerce
s
Hello all, We have been testing the Dart-sass changes that are supposed to be implemented the start of next year. We have been having issues with the converting the formulas we have in place. with the current version of sass we are able to math with strings and numbers (eg 30px / 2 = 15px), however, when running the dart-sass checker this it has a problem with this. According to the sass website it should still be able to handle this. Has anyone else encountered?
s
Division with constants such as
/2
is one of the things explicitly disallowed. Use
*0.5
instead
s
Would this be the same when working with variables or is this only with constants?
s
You can do it with variables as long as you use the new syntax