lib/helpers/getThemeConfig.js
function applyCustomColors(config) {
  const { colors } = getAppSettings();

  if (!config.hasOwnProperty('colors')) {
    return {
      ...config,
      colors,
    };
  }

  return {
    ...config,
    colors: {
      ...config.colors,
      ...colors,
    },
  };
}
function applyCustomColors(config) {
  const { colors } = getAppSettings();

  if (!config.hasOwnProperty('colors')) {
    return {
      ...config,
      colors,
    };
  }

  return {
    ...config,
    colors: {
      ...config.colors,
      ...colors,
    },
  };
}
function applyCustomColors ( config ) { const { colors } = getAppSettings ( ) ; if ( ! config . hasOwnProperty ( 'colors' ) ) { return { ... config , colors , } ; } return { ... config , colors : { ... config . colors , ... colors , } , } ; }
Applies custom colors
@param {[type]} config [description]
@return {[type]} [description]
Applies custom colors