Scenario:
@relativeLarge : unit( round(@largeSize * @emSize) / @emSize, em);
@relativeBig : unit( round(@bigSize * @emSize) / @emSize, em);
^
Error evaluating function `round`: argument must be a number
in node_modules\semantic-ui-less\themes\default\globals\site.variables (line 403, column 25)
I have the following libs installed:
less: ^2.7.3
less-loader: ^4.0.5
semantic-ui-less: ^2.2.12
semantic-ui-react: ^0.77.1
Closing this issue.
The problem was I included the strictMath option to the less loader and set it to true, hence the problem with the calculations.
Most helpful comment
Closing this issue.
The problem was I included the strictMath option to the less loader and set it to true, hence the problem with the calculations.