@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.brandColor.background;
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.brandColor.background;
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;
@@ -2,7 +2,7 @@ import {
2
2
  convertSettings,
3
3
  convertToCssVars,
4
4
  mergeThemeDefaultSettings
5
- } from "./chunk-RYJKESYH.js";
5
+ } from "./chunk-MA5IMKG6.js";
6
6
  import "./chunk-FZFHBCB6.js";
7
7
  import "./chunk-GFH3VWOC.js";
8
8
  import "./chunk-XEO3YXBM.js";
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.brandColor.background;
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
@@ -80,7 +80,7 @@ import {
80
80
  convertSettings,
81
81
  convertToCssVars,
82
82
  mergeThemeDefaultSettings
83
- } from "./chunk-RYJKESYH.js";
83
+ } from "./chunk-MA5IMKG6.js";
84
84
  import {
85
85
  generateStateColors,
86
86
  hexToHSLString,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usertour/helpers",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "type": "module",
5
5
  "description": "Utility functions and helpers shared across the UserTour project",
6
6
  "homepage": "https://www.usertour.io",