@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.
- package/dist/electron/index.js +3 -2
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +66 -48
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -10758,13 +10758,14 @@ function sanitizeName(name) {
|
|
|
10758
10758
|
* @returns {Object} Registry manifest
|
|
10759
10759
|
*/
|
|
10760
10760
|
function generateThemeRegistryManifest(themeData, themeKey, options = {}) {
|
|
10761
|
-
const
|
|
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:
|
|
10768
|
+
displayName: humanName,
|
|
10768
10769
|
author: options.authorName || "",
|
|
10769
10770
|
description: options.description || "",
|
|
10770
10771
|
version: "1.0.0",
|