diff --git a/Gruntfile.js b/Gruntfile.js index 01280f1026a1853a70052770c5ef995a79f2799a..b0c295e141a519b90e65795c0aa10d2cf4fd0f88 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -150,7 +150,13 @@ module.exports = function(grunt) { pattern: '$brand-primary: #619144 !default;', replacement: '$brand-primary: #619144;', order: 4 - } + }, + // Wrap calcs in {} + { + pattern: /calc\((\$[^ ]+)/g, + replacement: 'calc(#{$1}', + order: 5 + }, ] } }