'use strict';

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

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

var _styledComponents2 = _interopRequireDefault(_styledComponents);

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

var _themeGet2 = _interopRequireDefault(_themeGet);

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

var _cssvars2 = _interopRequireDefault(_cssvars);

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

exports.default = _styledComponents2.default.div.withConfig({
  displayName: 'StyleRoot'
})(['font-family:', ';background:', ';color:', ';font-size:14px;line-height:1.5;letter-spacing:0.28px;width:100%;height:100%;', ';'], (0, _themeGet2.default)('fonts.default'), (0, _themeGet2.default)('colors.background.default'), (0, _themeGet2.default)('colors.text.default'), function (_ref) {
  var customTheme = _ref.customTheme;
  return customTheme && (0, _styledComponents.css)(['', ';'], (0, _cssvars2.default)(customTheme));
});