2017-05-18 21:21:33 +03:00
|
|
|
import styled from 'styled-components';
|
|
|
|
import remcalc from 'remcalc';
|
|
|
|
|
2017-12-18 16:31:35 +02:00
|
|
|
import is from 'styled-is';
|
|
|
|
|
2017-05-18 21:21:33 +03:00
|
|
|
export default styled.p`
|
2017-11-23 14:18:38 +02:00
|
|
|
color: ${props => props.theme.text};
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
line-height: ${remcalc(24)};
|
|
|
|
font-size: ${remcalc(15)};
|
2017-09-26 19:07:45 +03:00
|
|
|
margin: 0;
|
|
|
|
|
2017-12-18 16:31:35 +02:00
|
|
|
${is('white')`
|
2017-12-18 17:40:31 +02:00
|
|
|
-webkit-text-fill-color: currentcolor;
|
2017-12-18 16:31:35 +02:00
|
|
|
color: ${props => props.theme.white}
|
|
|
|
`};
|
|
|
|
|
2018-01-25 18:40:07 +02:00
|
|
|
${is('monospace')`
|
|
|
|
font-family: ${props => props.theme.monoFont.families};
|
|
|
|
`};
|
2017-05-18 21:21:33 +03:00
|
|
|
`;
|