'use strict';

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

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

var _styledComponents2 = _interopRequireDefault(_styledComponents);

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

var _themeGet2 = _interopRequireDefault(_themeGet);

var _ToggleInput = require('./ToggleInput');

var _ToggleInput2 = _interopRequireDefault(_ToggleInput);

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

var SIZE = exports.SIZE = '24px';

exports.default = _styledComponents2.default.label.withConfig({
  displayName: 'ToggleLabel'
})(['cursor:pointer;position:relative;padding:', ';padding-right:0;padding-left:calc(', ' * 2 + ', ');user-select:none;transition:all 0.2s ease;line-height:calc(', ' * 1.5);font-family:', ';font-weight:300;display:inline;&::before{content:\'\';border-width:', ';border-style:solid;border-radius:', ';width:calc(', ' * 2);height:', ';cursor:pointer;display:block;position:absolute;left:0;top:50%;transform:translateY(-50%);transition:all 0.2s ease;}&::after{content:\'\';border-width:', ';border-style:solid;border-radius:', ';width:', ';height:', ';position:absolute;top:50%;transform:translateY(-50%);left:0;display:block;transition:all 0.2s ease;}', ':focus + &::before{box-shadow:', ';}', ' + &::before{background:', ';border-color:', ';}', ' + &::after{background:', ';border-color:', ';}', ' + &:hover::before,', ' + &:hover::after{border-color:', ';}', ':checked + &{&::before{background:', ';border-color:', ';}&::after{left:', ';background:', ';border-color:', ';}&:hover{&::before{background:', ';}&::before,&::after{border-color:', ';}}}', ':disabled + &{&::before,&::after{border-color:', ';}&::before{background:', ';}&::after{background:', ';}}'], (0, _themeGet2.default)('spacing.extraSmall'), SIZE, (0, _themeGet2.default)('spacing.medium'), SIZE, (0, _themeGet2.default)('fonts.brand'), (0, _themeGet2.default)('thicknesses.wide'), SIZE, SIZE, SIZE, (0, _themeGet2.default)('thicknesses.wide'), SIZE, SIZE, SIZE, _ToggleInput2.default, (0, _themeGet2.default)('shadows.focusOutline'), _ToggleInput2.default, (0, _themeGet2.default)('colors.background.default'), (0, _themeGet2.default)('colors.primary.dark'), _ToggleInput2.default, (0, _themeGet2.default)('colors.text.inverted'), (0, _themeGet2.default)('colors.primary.dark'), _ToggleInput2.default, _ToggleInput2.default, (0, _themeGet2.default)('colors.primary.dark'), _ToggleInput2.default, (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.primary.dark'), SIZE, (0, _themeGet2.default)('colors.text.inverted'), (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.primary.dark'), _ToggleInput2.default, (0, _themeGet2.default)('colors.gray.medium'), (0, _themeGet2.default)('colors.background.disabled'), (0, _themeGet2.default)('colors.background.disabled'));