You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW, in Visual Code with SASS compile extension, compiling sass code without calc function display the following:
Warning:
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100%, $cols) or calc(100% / $cols)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
12 | $unit: 100% / $cols;
| ^............^
╵
file:///var/www/devel/future/user/themes/future2021/assets/sass/libs/_html-grid.scss:12:10
THIS IS DEPRECATED AND WILL BE REMOVED IN SASS 2.0
--------------------
Warning:
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100%, $cols) or calc(100% / $cols)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
12 | $unit: 100% / $cols;
| ^............^
╵
file:///var/www/devel/future/user/themes/future2021/assets/sass/libs/_html-grid.scss:12:10
THIS IS DEPRECATED AND WILL BE REMOVED IN SASS 2.0
Can you try with $unit: math.div(100%, $cols); ?
I would like to use sass code with the latest specifications.
_html-grid.scss syntax is incorrect and won't compile with SASS.
error sass/libs/_html-grid.scss (Line 117: Undefined operation: "calc(100% / $cols) times 1".)
error sass/libs/_html-grid.scss (Line 121: Undefined operation: "calc(100% / $cols) times 1".)
The original here compiles OK:
https://github.com/ajlkn/responsive-tools/blob/master/src/_html-grid.scss
I changed $cols definition to match the original and it was fine.
The text was updated successfully, but these errors were encountered: