import { S as r, e as a, f as i, t as n } from "./provider-CKYgKu3z.js";
import { f as o, P as S, S as p, t as f, g, h as m } from "./main-BINuQ9na.js";
import { f as u } from "./fontString-CVUEOEMw.js";
const h = (t) => {
  const { theme: e } = o(), s = e.typography[t];
  return {
    ...s,
    toString: () => u(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: f,
  use: g,
  useContext: o,
  useProvider: m,
  useTypography: h
}, Symbol.toStringTag, { value: "Module" }));
export {
  _ as e,
  h as u
};
