import { S as r, e as a, f as i, t as n } from "./eraser-BcLVtorx.js";
import { u as o, P as S, S as p, t as u, b as m, c as b } from "./main-mGfIFfsW.js";
import { f as c } from "./fontString-B3WuZ-o6.js";
const f = (t) => {
  const { theme: e } = o(), s = e.typography[t];
  return {
    ...s,
    toString: () => c(e, { level: t }),
    baseSize: e.sizes.base,
    lineHeightPx: s.lineHeight * e.sizes.base,
    sizePx: s.size * e.sizes.base
  };
}, _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Provider: S,
  SYNNAX_DARK: r,
  SYNNAX_LIGHT: a,
  SYNNAX_THEMES: i,
  Switch: p,
  themeZ: n,
  toCSSVars: u,
  use: m,
  useContext: o,
  useProvider: b,
  useTypography: f
}, Symbol.toStringTag, { value: "Module" }));
export {
  _ as e,
  f as u
};
