"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getHeaderFontSize = void 0;

var _typography = require("../../../mixins/typography");

var getHeaderFontSize = function getHeaderFontSize(_ref) {
  var theme = _ref.theme,
      _ref$size = _ref.size,
      size = _ref$size === void 0 ? 'lg' : _ref$size;

  switch (size) {
    case 'lg':
      return (0, _typography.getFontSize)({
        theme: theme,
        fontSize: 'f2'
      });

    case 'sm':
      return (0, _typography.getFontSize)({
        theme: theme,
        fontSize: 'f1'
      });

    default:
      return (0, _typography.getFontSize)({
        theme: theme,
        fontSize: 'f2'
      });
  }
};

exports.getHeaderFontSize = getHeaderFontSize;