Skip to content
Snippets Groups Projects
Commit b92668f0 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Add replacement to Gruntfile to ensure this pattern is maintained.

parent 87e7cee9
No related merge requests found
...@@ -150,7 +150,13 @@ module.exports = function(grunt) { ...@@ -150,7 +150,13 @@ module.exports = function(grunt) {
pattern: '$brand-primary: #619144 !default;', pattern: '$brand-primary: #619144 !default;',
replacement: '$brand-primary: #619144;', replacement: '$brand-primary: #619144;',
order: 4 order: 4
} },
// Wrap calcs in {}
{
pattern: /calc\((\$[^ ]+)/g,
replacement: 'calc(#{$1}',
order: 5
},
] ]
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment