code: function convertRawTheme(theme) {
    if (!Array.isArray(theme.constants)) {
      return {
        constants: Object.keys(theme.constants).map(key => theme.constants[key]),
        styles: [].concat(theme.styles),
        animations: [].concat(theme.animations)
      }
    }
    else
      return theme;
  }
docs: user may not want to configure a whole theme and just pass in the theme we give them wholesale, lets convert it