'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

var _themeGet = require('../../extensions/themeGet');

var _themeGet2 = _interopRequireDefault(_themeGet);

var _H = require('./H2');

var _H2 = _interopRequireDefault(_H);

var _H3 = require('./H3');

var _H4 = _interopRequireDefault(_H3);

var _H5 = require('./H4');

var _H6 = _interopRequireDefault(_H5);

var _H7 = require('./H5');

var _H8 = _interopRequireDefault(_H7);

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

var H1 = _styledComponents2.default.h1.withConfig({ displayName: 'H1' }).withConfig({
  displayName: 'H1'
})(['color:', ';font-weight:100;font-family:', ';font-size:2.5em;margin:0;padding:0;'], (0, _themeGet2.default)('colors.primary.default'), (0, _themeGet2.default)('fonts.brand'));

H1.propTypes = {
  /**
   * Adds a class name to the element.
   */
  className: _propTypes2.default.string,
  /**
   * Adds an id to the element.
   */
  id: _propTypes2.default.string
};

H1.defaultProps = {
  className: null,
  id: null
};

H1.H2 = _H2.default;
H1.H3 = _H4.default;
H1.H4 = _H6.default;
H1.H5 = _H8.default;

/**
 * @component
 */
exports.default = H1;