var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
    for (var name in all) __defProp(target, name, {
      get: all[name],
      enumerable: !0
    });
  },
  __copyProps = (to, from, except, desc) => {
    if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
      get: () => from[key],
      enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
    });
    return to;
  };
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
  value: !0
}), mod);
var index_exports = {};
__export(index_exports, {
  createFiraMonoFont: () => createFiraMonoFont
});
module.exports = __toCommonJS(index_exports);
var import_core = require("@hanzogui/core");
const createFiraMonoFont = (font = {}) => (0, import_core.createFont)({
    family: import_core.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
  };