@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.js CHANGED
@@ -619,6 +619,10 @@ function RehagroProvider({ theme, toastPosition, children }) {
619
619
  vars[config.var] = value;
620
620
  }
621
621
  }
622
+ if (!theme.ring && theme.primary) {
623
+ const triplet = toRgbTriplet(theme.primary);
624
+ if (triplet) vars["--rh-ring"] = triplet;
625
+ }
622
626
  return vars;
623
627
  }, [theme]);
624
628
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rh-root", style, children: /* @__PURE__ */ jsxRuntime.jsx(ToastProvider, { position: toastPosition, children }) });