2017-05-18 21:21:33 +03:00
|
|
|
import { Small } from 'normalized-styled-components';
|
|
|
|
import remcalc from 'remcalc';
|
2018-01-11 22:26:42 +02:00
|
|
|
import is, { isNot } from 'styled-is';
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-05-25 17:59:58 +03:00
|
|
|
export default Small.extend`
|
2017-11-23 14:18:38 +02:00
|
|
|
color: ${props => props.theme.text};
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
line-height: ${remcalc(18)};
|
2017-09-26 14:12:15 +03:00
|
|
|
font-size: ${remcalc(13)};
|
2018-01-11 22:26:42 +02:00
|
|
|
|
|
|
|
${isNot('noMargin')`
|
|
|
|
padding-bottom: ${remcalc(12)};
|
|
|
|
`};
|
|
|
|
|
|
|
|
${is('bold')`
|
|
|
|
font-weight: ${props => props.theme.font.weight.semibold};
|
|
|
|
`};
|
2017-05-18 21:21:33 +03:00
|
|
|
`;
|