"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Head5 = exports.Head4 = exports.Head3 = exports.Head2 = exports.Head1 = void 0;

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _spacing = require("../../../mixins/spacing");

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

var _head = require("./head.css-rules");

var _branding = require("../../../mixins/branding");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var sharedAttributes = function sharedAttributes(props) {
  return {
    style: (0, _spacing.getSpacingRules)(props),
    bold: 'true'
  };
};

var sharedSpacing = "\n  margin: 0;\n  padding: 0;\n";

var Head1 = _styledComponents["default"].h1.attrs(sharedAttributes).withConfig({
  displayName: "Head1",
  componentId: "pwy95a-0"
})(["", " font-size:", ";font-family:", ";font-weight:", ";line-height:1.2;color:", ";text-align:", ";"], sharedSpacing, _head.getH1FontSize, _head.getHFontFamily, _typography.getFontWeight, _branding.getForegroundColor, _typography.getTextAlign);

exports.Head1 = Head1;
Head1.displayName = 'Head1';

var Head2 = _styledComponents["default"].h2.attrs(sharedAttributes).withConfig({
  displayName: "Head2",
  componentId: "pwy95a-1"
})(["", " font-size:", ";font-family:", ";font-weight:", ";line-height:1.2;color:", ";text-align:", ";"], sharedSpacing, _head.getH2FontSize, _head.getHFontFamily, _typography.getFontWeight, _branding.getForegroundColor, _typography.getTextAlign);

exports.Head2 = Head2;
Head2.displayName = 'Head2';

var Head3 = _styledComponents["default"].h3.attrs(sharedAttributes).withConfig({
  displayName: "Head3",
  componentId: "pwy95a-2"
})(["", " font-size:", ";font-family:", ";font-weight:", ";line-height:1.2;color:", ";text-align:", ";"], sharedSpacing, _head.getH3FontSize, _head.getHFontFamily, _typography.getFontWeight, _branding.getForegroundColor, _typography.getTextAlign);

exports.Head3 = Head3;
Head3.displayName = 'Head3';

var Head4 = _styledComponents["default"].h4.attrs(sharedAttributes).withConfig({
  displayName: "Head4",
  componentId: "pwy95a-3"
})(["", " font-size:", ";font-family:", ";font-weight:", ";line-height:1.2;color:", ";text-align:", ";"], sharedSpacing, _head.getH4FontSize, _head.getHFontFamily, _typography.getFontWeight, _branding.getForegroundColor, _typography.getTextAlign);

exports.Head4 = Head4;
Head4.displayName = 'Head4';

var Head5 = _styledComponents["default"].h5.attrs(sharedAttributes).withConfig({
  displayName: "Head5",
  componentId: "pwy95a-4"
})(["", " font-size:", ";font-family:", ";font-weight:", ";line-height:1.2;color:", ";text-align:", ";"], sharedSpacing, _head.getH5FontSize, _head.getHFontFamily, _typography.getFontWeight, _branding.getForegroundColor, _typography.getTextAlign);

exports.Head5 = Head5;
Head5.displayName = 'Head5';