import { jsx as m } from "react/jsx-runtime";
import { useThemeContext as u, ThemeProvider as c } from "../contexts/ThemeContext.js";
const b = (r) => {
  const { children: e, customVariables: a, customDarkVariables: s } = r, {
    customVariables: t,
    customDarkVariables: o
  } = u();
  return /* @__PURE__ */ m(
    c,
    {
      value: {
        customVariables: { ...t, ...a },
        customDarkVariables: { ...o, ...s }
      },
      children: e
    }
  );
};
export {
  b as RPTheme
};
