@rebuy/rebuy 3.28.1 → 3.29.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.
package/dist/index.cjs CHANGED
@@ -4603,7 +4603,7 @@ var OFFER_TEMPLATE_SEED = {
4603
4603
  marks: [
4604
4604
  {
4605
4605
  attrs: {
4606
- color: "accent",
4606
+ color: "base",
4607
4607
  fontSize: "medium"
4608
4608
  },
4609
4609
  type: "textStyle"
@@ -4817,9 +4817,13 @@ var buildPriceContent = () => ({
4817
4817
  content: [
4818
4818
  {
4819
4819
  content: [
4820
- /** Legacy renders the price in the checkout's brand color (`<Text appearance="accent">`). */
4820
+ /**
4821
+ * Regular text color, not legacy's `<Text appearance="accent">`: the checkout's web components
4822
+ * can't render app text in the accent color, and `accent`'s nearest tint shows default blue on
4823
+ * most stores (REB-24049).
4824
+ */
4821
4825
  {
4822
- marks: [{ attrs: { color: "accent", fontSize: "base" }, type: "textStyle" }],
4826
+ marks: [{ attrs: { color: "base", fontSize: "base" }, type: "textStyle" }],
4823
4827
  text: "{{variantPrice}}",
4824
4828
  type: "text"
4825
4829
  },
package/dist/index.mjs CHANGED
@@ -4277,7 +4277,7 @@ var OFFER_TEMPLATE_SEED = {
4277
4277
  marks: [
4278
4278
  {
4279
4279
  attrs: {
4280
- color: "accent",
4280
+ color: "base",
4281
4281
  fontSize: "medium"
4282
4282
  },
4283
4283
  type: "textStyle"
@@ -4491,9 +4491,13 @@ var buildPriceContent = () => ({
4491
4491
  content: [
4492
4492
  {
4493
4493
  content: [
4494
- /** Legacy renders the price in the checkout's brand color (`<Text appearance="accent">`). */
4494
+ /**
4495
+ * Regular text color, not legacy's `<Text appearance="accent">`: the checkout's web components
4496
+ * can't render app text in the accent color, and `accent`'s nearest tint shows default blue on
4497
+ * most stores (REB-24049).
4498
+ */
4495
4499
  {
4496
- marks: [{ attrs: { color: "accent", fontSize: "base" }, type: "textStyle" }],
4500
+ marks: [{ attrs: { color: "base", fontSize: "base" }, type: "textStyle" }],
4497
4501
  text: "{{variantPrice}}",
4498
4502
  type: "text"
4499
4503
  },