Open ClayShentrup opened 3 years ago
yes, it's a valid syntax, but libsass uses an older standard that doesn't support math functions yet https://github.com/sass/libsass
you can apply a workaround
$size: -$tagMargin / 2;
this will work, but on the other hand, I'll produce a deprecation warning on dart-sass.
I think there's nothing we can do here, we have to wait for libsass to support the new syntax, but it's unlikely to happen anytime soon.
See this error from the latest Tagify.
https://github.com/yairEO/tagify/issues/921#issuecomment-948910022
Here's the offending section:
Whereas the npm sass (formerly dart-sass) package says it's valid.