'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);

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

var HeaderWrapper = _styledComponents2.default.div.withConfig({
  displayName: 'HeaderWrapper'
})(['color:', ';font-size:1.2em;font-weight:500;text-transform:uppercase;background:', ';background-size:cover;padding:', ';padding-top:', ';flex:1;'], (0, _themeGet2.default)('colors.background.default'), function (props) {
  return props.image ? 'url(' + props.image + ')' : (0, _themeGet2.default)('colors.primary.dark');
}, (0, _themeGet2.default)('spacing.medium'), (0, _themeGet2.default)('spacing.extraLarge'));

exports.default = HeaderWrapper;