'use strict';

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

var _Icon = require('../../Icon');

var _Icon2 = _interopRequireDefault(_Icon);

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 AccordionArrow = (0, _styledComponents2.default)(_Icon2.default).withConfig({
  displayName: 'AccordionArrow'
})(['color:', ';margin:auto 1em auto auto;transform:', ';transition:0.2s all ease;font-weight:100;&:after{padding-top:0;padding-bottom:0;font-size:1.5em;}'], (0, _themeGet2.default)('colors.gray.default'), function (_ref) {
  var isExpanded = _ref.isExpanded;
  return isExpanded ? 'rotate(90deg)' : 'rotate(0)';
});

AccordionArrow.Small = (0, _styledComponents2.default)(AccordionArrow).withConfig({
  displayName: 'AccordionArrow__Small'
})(['color:', ';&:after{font-size:1em;}'], (0, _themeGet2.default)('colors.text.default'));

exports.default = AccordionArrow;