import S from "./genFontSizes.mjs";
const d = (h) => {
  const i = S(h), n = i.map((t) => t.size), e = i.map((t) => t.lineHeight), o = n[1], g = n[0], H = n[2], a = e[1], f = e[0], s = e[2];
  return {
    fontSizeSM: g,
    fontSize: o,
    fontSizeLG: H,
    fontSizeXL: n[3],
    fontSizeHeading1: n[6],
    fontSizeHeading2: n[5],
    fontSizeHeading3: n[4],
    fontSizeHeading4: n[3],
    fontSizeHeading5: n[2],
    lineHeight: a,
    lineHeightLG: s,
    lineHeightSM: f,
    fontHeight: Math.round(a * o),
    fontHeightLG: Math.round(s * H),
    fontHeightSM: Math.round(f * g),
    lineHeightHeading1: e[6],
    lineHeightHeading2: e[5],
    lineHeightHeading3: e[4],
    lineHeightHeading4: e[3],
    lineHeightHeading5: e[2]
  };
}, c = d;
export {
  c as default
};
