882cb68ec2
- remove dependencies on redux-form, react-router-dom, and react-redux. - work with every font, and don't bundle fonts - don't bundle editor
30 lines
635 B
JavaScript
30 lines
635 B
JavaScript
import styled from 'styled-components';
|
|
import remcalc from 'remcalc';
|
|
import is from 'styled-is';
|
|
|
|
import BaseAnchor from '../anchor';
|
|
import Baseline from '../baseline';
|
|
|
|
export default Baseline(styled.li`
|
|
display: inline-block;
|
|
font-size: ${remcalc(15)};
|
|
line-height: 1.6;
|
|
margin-right: ${remcalc(23)};
|
|
`);
|
|
|
|
export const Anchor = Baseline(styled(BaseAnchor)`
|
|
color: ${props => props.theme.secondary};
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
|
|
&.active {
|
|
color: ${props => props.theme.primary};
|
|
cursor: default;
|
|
}
|
|
|
|
${is('active')`
|
|
color: ${props => props.theme.primary};
|
|
cursor: default;
|
|
`};
|
|
`);
|