--space-unit: 1em;
--space-xl: calc(3.25 * var(--space-unit));
This calc(-1 * var(--space-xl));
should be a negative value.... but the -1 is ignored!
The output is 3.25em.
Here is my gulp postcss Setup:
.pipe($.postcss([
$.stylelint(),
$.autoprefixer(),
$.cssnano({
discardComments: {
removeAll: true
},
discardDuplicates: true,
discardEmpty: true,
minifyFontValues: true,
minifySelectors: true
}),
$.postcssCustomProperties(), // IE 11
$.postcssCalc(), // IE 11
$.postcssReporter({
clearReportedMessages: true
})
]))
Any ideas?