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
[PluginError: Error evaluating function `unit`: the first argument to unit must be a number. Have you forgotten parenthesis? in file ./semantic/src/themes/default/globals/site.variables line no. 393] {
stack: undefined,
type: 'Argument',
filename: './semantic/src/themes/default/globals/site.variables',
index: 10061,
line: 393,
column: 19,
callLine: NaN,
callExtract: undefined,
extract: [
'*/',
'@mini : unit( round(@miniSize * @emSize) / @emSize, rem);',
'@tiny : unit( round(@tinySize * @emSize) / @emSize, rem);'
],
lineNumber: 393,
fileName: './semantic/src/themes/default/globals/site.variables',
__safety: { toString: [Function: bound ] },
_stack: undefined,
plugin: 'gulp-less',
showProperties: true,
showStack: false
}
Version
2.5.0
Recommendation
There are a couple of updates needed in the theme less files. Wrap division expressions in parentheses and variables prefixed with negative signs must also be wrapped.
The text was updated successfully, but these errors were encountered:
mcrawshaw
changed the title
v2.5.0: Build reporting less compile issues
v2.5.0: Build reporting LESS compile issues
Oct 20, 2022
mcrawshaw
changed the title
v2.5.0: Build reporting LESS compile issues
v2.5.0: Build reporting less compile issues
Oct 20, 2022
Due to updates in the less dependency some math operations are more strict (https://github.com/less/less.js/releases/tag/v4.0.0).
Steps
Build semantic
Actual Result
Version
2.5.0
Recommendation
There are a couple of updates needed in the theme less files. Wrap division expressions in parentheses and variables prefixed with negative signs must also be wrapped.
The text was updated successfully, but these errors were encountered: