@rehagro/ui 1.0.7 → 1.0.8

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.mjs CHANGED
@@ -613,6 +613,10 @@ function RehagroProvider({ theme, toastPosition, children }) {
613
613
  vars[config.var] = value;
614
614
  }
615
615
  }
616
+ if (!theme.ring && theme.primary) {
617
+ const triplet = toRgbTriplet(theme.primary);
618
+ if (triplet) vars["--rh-ring"] = triplet;
619
+ }
616
620
  return vars;
617
621
  }, [theme]);
618
622
  return /* @__PURE__ */ jsx("div", { className: "rh-root", style, children: /* @__PURE__ */ jsx(ToastProvider, { position: toastPosition, children }) });