@usertour/helpers 0.0.58 → 0.0.59
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.
|
@@ -89,7 +89,7 @@ var convertSettings = (settings) => {
|
|
|
89
89
|
data.font.linkColor = settings.brandColor.background;
|
|
90
90
|
}
|
|
91
91
|
if (settings.xbutton.color === "Auto") {
|
|
92
|
-
data.xbutton.color = settings.
|
|
92
|
+
data.xbutton.color = settings.mainColor.color;
|
|
93
93
|
}
|
|
94
94
|
if (((_a = settings == null ? void 0 : settings.progress) == null ? void 0 : _a.color) === "Auto") {
|
|
95
95
|
data.progress.color = settings.brandColor.background;
|
|
@@ -154,7 +154,7 @@ var convertSettings = (settings) => {
|
|
|
154
154
|
data.font.linkColor = settings.brandColor.background;
|
|
155
155
|
}
|
|
156
156
|
if (settings.xbutton.color === "Auto") {
|
|
157
|
-
data.xbutton.color = settings.
|
|
157
|
+
data.xbutton.color = settings.mainColor.color;
|
|
158
158
|
}
|
|
159
159
|
if (((_a = settings == null ? void 0 : settings.progress) == null ? void 0 : _a.color) === "Auto") {
|
|
160
160
|
data.progress.color = settings.brandColor.background;
|
package/dist/convert-settings.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -413,7 +413,7 @@ var convertSettings = (settings) => {
|
|
|
413
413
|
data.font.linkColor = settings.brandColor.background;
|
|
414
414
|
}
|
|
415
415
|
if (settings.xbutton.color === "Auto") {
|
|
416
|
-
data.xbutton.color = settings.
|
|
416
|
+
data.xbutton.color = settings.mainColor.color;
|
|
417
417
|
}
|
|
418
418
|
if (((_a = settings == null ? void 0 : settings.progress) == null ? void 0 : _a.color) === "Auto") {
|
|
419
419
|
data.progress.color = settings.brandColor.background;
|
package/dist/index.js
CHANGED