"use strict";
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: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__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: true }), mod);
var styles_exports = {};
__export(styles_exports, {
  fontStyles: () => fontStyles,
  textVariantStyle: () => textVariantStyle
});
module.exports = __toCommonJS(styles_exports);
var import_styled_components = require("styled-components");
const getFontSource = (name) => (props) => {
  const fontsPath = props.fontsPath ?? "assets/fonts";
  const fontName = props.fontMappings && props.fontMappings(name) || `${name}.woff2`;
  return `url("${fontsPath}/${fontName}") format("woff2")`;
};
const fontStyles = import_styled_components.css`
  @font-face {
    font-family: "Inter";
    src: ${getFontSource("Inter-ExtraLight-BETA")};
    font-weight: 100;
    font-style: normal;
  }

  @font-face {
    font-family: "Inter";
    src: ${getFontSource("Inter-Light-BETA")};
    font-weight: 300;
    font-style: normal;
  }

  @font-face {
    font-family: "Inter";
    src: ${getFontSource("Inter-Regular")};
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: "Inter";
    src: ${getFontSource("Inter-Medium")};
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family: "Inter";
    src: ${getFontSource("Inter-SemiBold")};
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: "Inter";
    src: ${getFontSource("Inter-ExtraBold")};
    font-weight: 900;
    font-style: normal;
  }

  @font-face {
    font-family: "Alpha";
    src: ${getFontSource("HMAlphaMono-Medium")};
    font-weight: 500;
    font-style: normal;
  }
`;
const textVariantStyle = {
  h1: {
    fontFamily: "Alpha, Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h1Inter: {
    fontFamily: "Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h2: {
    fontFamily: "Alpha, Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h2Inter: {
    fontFamily: "Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h3: {
    fontFamily: "Alpha, Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h3Inter: {
    fontFamily: "Inter, Sans",
    fontWeight: 500
  },
  h4: {
    fontFamily: "Alpha, Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h4Inter: {
    fontFamily: "Inter, Sans",
    fontWeight: 600
  },
  h5: {
    fontFamily: "Alpha, Inter, Sans",
    fontWeight: 500,
    "text-transform": "uppercase"
  },
  h5Inter: {
    fontFamily: "Inter, Sans",
    fontWeight: 500
  },
  large: {
    fontFamily: "Inter, Sans"
  },
  largeLineHeight: {
    fontFamily: "Inter, Sans",
    lineHeight: 1.7
  },
  body: {
    fontFamily: "Inter, Sans"
  },
  bodyLineHeight: {
    fontFamily: "Inter, Sans",
    lineHeight: 1.7
  },
  paragraph: {
    fontFamily: "Inter, Sans"
  },
  paragraphLineHeight: {
    fontFamily: "Inter, Sans",
    lineHeight: 1.7
  },
  small: {
    fontFamily: "Inter, Sans"
  },
  extraSmall: {
    fontFamily: "Inter, Sans"
  },
  tiny: {
    fontFamily: "Inter, Sans"
  },
  micro: {
    fontFamily: "Inter, Sans"
  },
  subtitle: {
    fontFamily: "Inter, Sans",
    fontWeight: 600,
    "text-transform": "uppercase"
  }
};
//# sourceMappingURL=styles.js.map
