code: function generateTokens(src, dest) {
    return new Promise((resolve) => {
      const startTaskName = swlog.logTaskStart(`creating tokens from ${src}`);
      const configGlob = `${src}/**/*.config.json`;
      const configs = glob.sync(configGlob);
  
      configs.forEach(config => {
        const configName = path.basename(config, '.config.json');
  
        const themeConfig = JSON.parse(fs.readFileSync(config, 'utf8'));
        themeConfig.platforms = getPlatforms(dest, configName);
  
        const dict = require('style-dictionary').extend(themeConfig);
  
        customTransforms.forEach(t => {
          dict.registerTransform(t);
        });
  
        customFormats.forEach(f => {
          dict.registerFormat(f);
        });
  
        dict.buildAllPlatforms();
      });
  
      swlog.logTaskEnd(startTaskName);
      resolve();
    })
    .catch(swlog.error);
  }
docs: ------------------------------------- Main ------------------------------------- 
  Generate the tokens for a theme
  @param {String} src - The source path
  @param {String} dest - The destination path
  @param {String} themeName - The theme name
  @returns {Promise}