registerTheme = (name, theme) => {
  const themeInfo = {
    name,
    theme,
  };

  ThemesTable[name] = themeInfo;
}
Register a theme with a name

@param {String} name The name of the theme to register
@param {Object} theme The theme object - see defaultTheme.js