import { createFont, isWeb } from "@hanzogui/core";
const createFiraMonoFont = (font = {}) => createFont({
    family: isWeb ? "Fira Code, Monaco, Consolas, Ubuntu Mono, monospace" : "Fira",
    size,
    lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, v * 1.3])),
    weight: {
      4: "300",
      6: "700"
    },
    letterSpacing: {
      4: -0.25
    },
    ...font
  }),
  size = {
    1: 10,
    2: 11,
    3: 12,
    4: 14,
    5: 15,
    6: 16,
    7: 20,
    8: 22,
    9: 30,
    10: 42,
    11: 52,
    12: 62,
    13: 72,
    14: 92,
    15: 114,
    16: 124
  };
export { createFiraMonoFont };
//# sourceMappingURL=index.mjs.map
