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

exports.default = _styledComponents2.default.button.withConfig({
  displayName: 'StyledToggleButton'
})(['padding:', ' ', ';background:', ';border-color:', ';border-width:', ';border-style:solid;border-radius:3px;cursor:pointer;color:', ';font-weight:700;text-align:center;text-transform:uppercase;cursor:pointer;user-select:none;transition:0.2s ease;font-size:14px;font-family:', ';height:53px;outline:unset;&:disabled{color:', ';background-color:', ';border-color:', ';cursor:default;}&:hover:not(:disabled){box-shadow:', ';}', ';'], (0, _themeGet2.default)('spacing.small'), (0, _themeGet2.default)('spacing.medium'), (0, _themeGet2.default)('colors.background.default'), (0, _themeGet2.default)('colors.border.dark'), (0, _themeGet2.default)('thicknesses.wide'), (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('fonts.brand'), (0, _themeGet2.default)('colors.text.disabled'), (0, _themeGet2.default)('colors.background.disabled'), (0, _themeGet2.default)('colors.border.disabled'), (0, _themeGet2.default)('shadows.focusOutline'), function (_ref) {
  var selected = _ref.selected;
  return selected && (0, _styledComponents.css)(['background:', ';color:', ';border-color:', ';&:disabled{background-color:', ';border-color:', ';color:', ';}'], (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.text.inverted'), (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.background.disabledSelected'), (0, _themeGet2.default)('colors.border.disabled'), (0, _themeGet2.default)('colors.text.inverted'));
});