code: function getGridGap (decl) {
    let gap = {}
  
    // try to find gap
    let testGap = /^(grid-)?((row|column)-)?gap$/
    decl.parent.walkDecls(testGap, ({ prop, value }) => {
      if (/^(grid-)?gap$/.test(prop)) {
        let [row,, column] = parser(value).nodes
  
        gap.row = row && parser.stringify(row)
        gap.column = column ? parser.stringify(column) : gap.row
      }
      if (/^(grid-)?row-gap$/.test(prop)) gap.row = value
      if (/^(grid-)?column-gap$/.test(prop)) gap.column = value
    })
  
    return gap
  }
docs: Gap utils