export default function getFontStyles(name) {
  const globalStyles = {
    fontFamily: "var(--ion-font-family)",
    margin: "0",
    textAlign: "left",
  };
  const fontStyles = {
    h1: {
      fontStyle: "normal",
      fontWeight: "300",
      fontSize: "2.5rem",
      lineHeight: "120%",
    },
    h2: {
      fontStyle: "normal",
      fontWeight: "700",
      fontSize: "1.5rem",
      lineHeight: "120%",
    },
    h3: {
      fontStyle: "normal",
      fontWeight: "600",
      fontSize: "1.375rem",
      lineHeight: "120%",
    },
    h4: {
      fontStyle: "normal",
      fontWeight: "400",
      fontSize: "1.25rem",
      lineHeight: "120%",
    },
    h5: {
      fontStyle: "normal",
      fontWeight: "400",
      fontSize: "1.125rem",
      lineHeight: "120%",
    },
    h6: {
      fontStyle: "normal",
      fontWeight: "600",
      fontSize: "1rem",
      lineHeight: "120%",
    },
    p: {
      fontStyle: "normal",
      fontSize: "1rem",
    },
    b: {
      fontStyle: "normal",
      fontWeight: "600",
    },
    label: {
      fontStyle: "normal",
      fontWeight: "600",
      fontSize: "0.9rem",
      opacity: "0.6",
    },
    caption: {
      fontStyle: "normal",
      fontWeight: "400",
      fontSize: "0.8rem",
      lineHeight: "120%",
      letterSpacing: "0.4px",
      opacity: "0.8",
    },
    small: {
      fontStyle: "normal",
    },
  };
  return { ...globalStyles, ...((fontStyles === null || fontStyles === void 0 ? void 0 : fontStyles[name]) || {}) };
}
