code: function getLessVars(filtPath) {
    const sheet = fs.readFileSync(filtPath).toString();
    const lessVars = {};
    const matches = sheet.match(/@(.*:[^;]*)/g) || [];
  
    matches.forEach(variable => {
      const definition = variable.split(/:\s*/);
      const varName = definition[0].replace(/['"]+/g, "").trim();
      lessVars[varName] = definition.splice(1).join(":");
    });
    return lessVars;
  }
docs: /*
  This funtion reads a less file and create an object with keys as variable names
  and values as variables respective values. e.g.
  variabables.less
  @theme-color : #1890ff;
  @heading-color : #fa8c16;
  @text-color : #cccccc;
  
  to
  
  {
  '@theme-color' : '#1890ff',
  '@heading-color' : '#fa8c16',
  '@text-color' : '#cccccc'
  }