From b92668f049075413f9e00e9a0ac07cfdf5d7fdb3 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Tue, 30 Jan 2018 11:48:44 -0500
Subject: [PATCH] Add replacement to Gruntfile to ensure this pattern is
 maintained.

---
 Gruntfile.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Gruntfile.js b/Gruntfile.js
index 01280f1026a..b0c295e141a 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
+            },
           ]
         }
       }
-- 
GitLab