@trops/dash-core 0.1.134 → 0.1.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10758,13 +10758,14 @@ function sanitizeName(name) {
10758
10758
  * @returns {Object} Registry manifest
10759
10759
  */
10760
10760
  function generateThemeRegistryManifest(themeData, themeKey, options = {}) {
10761
- const sanitizedName = sanitizeName(themeKey);
10761
+ const humanName = themeData.name || themeKey;
10762
+ const sanitizedName = sanitizeName(humanName);
10762
10763
  const colors = extractColors(themeData);
10763
10764
 
10764
10765
  return {
10765
10766
  scope: options.scope || "",
10766
10767
  name: sanitizedName,
10767
- displayName: themeKey,
10768
+ displayName: humanName,
10768
10769
  author: options.authorName || "",
10769
10770
  description: options.description || "",
10770
10771
  version: "1.0.0",