'use strict';

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

var _taggedTemplateLiteral2 = require('babel-runtime/helpers/taggedTemplateLiteral');

var _taggedTemplateLiteral3 = _interopRequireDefault(_taggedTemplateLiteral2);

var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n    * {\n      box-sizing: border-box;\n    }\n\n    body, html {\n      width: 100%;\n      height: 100%;\n      font-family: var(--fonts-brand);\n      font-size: 14px;\n      letter-spacing: 0.28px;\n      margin: 0;\n      line-height: 1.5;\n      background: var(--colors-background-default);\n      color: var(--colors-text-default);\n    }\n\n    :root {\n      ', '\n    }\n\n    #main {\n      width: 100%;\n      height: 100%;\n    }\n\n    /* font - brand font */\n    @import url(\'https://fonts.googleapis.com/css?family=Overpass:100,100i,200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i\');\n\n    /* font - icons */\n    @font-face {\n      font-family: \'Bandwidth\';\n      src: url(', ');\n      src: url(', ') format(\'woff2\'),\n          url(', ') format(\'woff\'),\n          url(', ') format(\'truetype\'),\n          url(', ') format(\'svg\');\n      font-weight: normal;\n      font-style: normal;\n    }\n  '], ['\n    * {\n      box-sizing: border-box;\n    }\n\n    body, html {\n      width: 100%;\n      height: 100%;\n      font-family: var(--fonts-brand);\n      font-size: 14px;\n      letter-spacing: 0.28px;\n      margin: 0;\n      line-height: 1.5;\n      background: var(--colors-background-default);\n      color: var(--colors-text-default);\n    }\n\n    :root {\n      ', '\n    }\n\n    #main {\n      width: 100%;\n      height: 100%;\n    }\n\n    /* font - brand font */\n    @import url(\'https://fonts.googleapis.com/css?family=Overpass:100,100i,200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i\');\n\n    /* font - icons */\n    @font-face {\n      font-family: \'Bandwidth\';\n      src: url(', ');\n      src: url(', ') format(\'woff2\'),\n          url(', ') format(\'woff\'),\n          url(', ') format(\'truetype\'),\n          url(', ') format(\'svg\');\n      font-weight: normal;\n      font-style: normal;\n    }\n  ']); /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * Import this in your main file to bootstrap some global CSS and font properties
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   */

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

var _cssvars = require('./theme/cssvars');

var _cssvars2 = _interopRequireDefault(_cssvars);

var _catapultTheme = require('./theme/catapultTheme');

var _catapultTheme2 = _interopRequireDefault(_catapultTheme);

var _irisTheme = require('./theme/irisTheme');

var _irisTheme2 = _interopRequireDefault(_irisTheme);

var _Bandwidth = require('./fonts/Bandwidth.eot');

var _Bandwidth2 = _interopRequireDefault(_Bandwidth);

var _Bandwidth3 = require('./fonts/Bandwidth.woff2');

var _Bandwidth4 = _interopRequireDefault(_Bandwidth3);

var _Bandwidth5 = require('./fonts/Bandwidth.woff');

var _Bandwidth6 = _interopRequireDefault(_Bandwidth5);

var _Bandwidth7 = require('./fonts/Bandwidth.ttf');

var _Bandwidth8 = _interopRequireDefault(_Bandwidth7);

var _Bandwidth9 = require('./fonts/Bandwidth.svg');

var _Bandwidth10 = _interopRequireDefault(_Bandwidth9);

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

/**
 * @deprecated
 * Please see BandwidthProvider for global styling setup
 */
var bootstrapFromTheme = function bootstrapFromTheme(theme) {
  /* eslint-disable no-unused-expressions */
  (0, _styledComponents.injectGlobal)(_templateObject, (0, _cssvars2.default)(theme), _Bandwidth2.default, _Bandwidth4.default, _Bandwidth6.default, _Bandwidth8.default, _Bandwidth10.default);
};

var base = function base() {
  return bootstrapFromTheme(_irisTheme2.default);
};
base.catapult = function () {
  return bootstrapFromTheme(_catapultTheme2.default);
};

exports.default = base;