@ikas/storefront 0.0.167-alpha.6 → 0.0.167-alpha.7
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/build/index.es.js +5 -3
- package/build/index.js +5 -3
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -70359,9 +70359,11 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
70359
70359
|
SettingsHelper.createColorScript = function (settings) {
|
|
70360
70360
|
if (!settings.colors)
|
|
70361
70361
|
return;
|
|
70362
|
-
return "
|
|
70363
|
-
|
|
70364
|
-
|
|
70362
|
+
return "<script>" + settings.colors
|
|
70363
|
+
.map(function (sc) {
|
|
70364
|
+
return "document.documentElement.style.setProperty(\"" + sc.key + "\",\"" + sc.color + "\");";
|
|
70365
|
+
})
|
|
70366
|
+
.join("\r\n") + "</script> \n ";
|
|
70365
70367
|
};
|
|
70366
70368
|
return SettingsHelper;
|
|
70367
70369
|
}());
|
package/build/index.js
CHANGED
|
@@ -70338,9 +70338,11 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
70338
70338
|
SettingsHelper.createColorScript = function (settings) {
|
|
70339
70339
|
if (!settings.colors)
|
|
70340
70340
|
return;
|
|
70341
|
-
return "
|
|
70342
|
-
|
|
70343
|
-
|
|
70341
|
+
return "<script>" + settings.colors
|
|
70342
|
+
.map(function (sc) {
|
|
70343
|
+
return "document.documentElement.style.setProperty(\"" + sc.key + "\",\"" + sc.color + "\");";
|
|
70344
|
+
})
|
|
70345
|
+
.join("\r\n") + "</script> \n ";
|
|
70344
70346
|
};
|
|
70345
70347
|
return SettingsHelper;
|
|
70346
70348
|
}());
|