UNPKG

823 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6
7var _templateObject = _taggedTemplateLiteral(['\n font-weight: 300;\n font-family: ', ';\n font-size: ', ';\n'], ['\n font-weight: 300;\n font-family: ', ';\n font-size: ', ';\n']);
8
9var _styledComponents = require('styled-components');
10
11var _styledComponents2 = _interopRequireDefault(_styledComponents);
12
13function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
15function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
16
17exports.default = _styledComponents2.default.span(_templateObject, function (props) {
18 return props.theme.font.base;
19}, function (props) {
20 return props.small ? '0.875em' : '1em';
21});
\No newline at end of file