utils/root.js
function generateColors(conf) {
  for (var key in conf.color) {
    if (typeof conf.color[key] !== 'string') continue;
    conf.color[key] = new Color(conf.color[key]);
  }
  return conf;
}
function generateColors(conf) {
  for (var key in conf.color) {
    if (typeof conf.color[key] !== 'string') continue;
    conf.color[key] = new Color(conf.color[key]);
  }
  return conf;
}
function generateColors ( conf ) { for ( var key in conf . color ) { if ( typeof conf . color [ key ] !== 'string' ) continue ; conf . color [ key ] = new Color ( conf . color [ key ] ) ; } return conf ; }
Iterate over given colors in `conf` with `Color` class
@param {Object} conf
Iterate over given colors in conf with Color class