@magicfeedback/popup-sdk 1.22.0 → 1.22.1

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.
@@ -22,7 +22,7 @@ import {
22
22
  style_default,
23
23
  surveySdkUrls,
24
24
  systemPrefersDark
25
- } from "./chunk-7PVEXIUG.mjs";
25
+ } from "./chunk-6HPKIMVM.mjs";
26
26
  import {
27
27
  __commonJS,
28
28
  __toESM
@@ -3737,6 +3737,9 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
3737
3737
  done.style.cssText = `width:100%; text-align:center; padding:24px 0; color:${theme.textPrimary};`;
3738
3738
  main.insertBefore(done, errorHint);
3739
3739
  }
3740
+ done.style.color = theme.textPrimary;
3741
+ if (theme.colorScheme === "dark") done.style.setProperty("--mf-text-secondary", theme.textPrimary);
3742
+ else done.style.removeProperty("--mf-text-secondary");
3740
3743
  done.innerHTML = successMessageHtml || "<p>Thank you for your feedback!</p>";
3741
3744
  done.querySelectorAll("img").forEach((img) => {
3742
3745
  img.style.cssText = "max-width:100%; height:auto; margin:0 auto 16px auto; display:block;";
@@ -3995,4 +3998,4 @@ export {
3995
3998
  SURVEY_ALIGNMENT_STYLE_ID,
3996
3999
  renderPopup
3997
4000
  };
3998
- //# sourceMappingURL=renderPopup-VS5XFGTI.mjs.map
4001
+ //# sourceMappingURL=renderPopup-L5TROMDQ.mjs.map