Easily access theme prop in styled-components
npm i -S themmer
// Quite ugly theme accessing
const UglyComponent = styled.div`
background-color: ${props => props.theme.color.main.light};
color: ${props => props.theme.color.main.dark};
`
import tm from 'themmer'
// Less ugly theme accessing
const LessUglyComponent = styled.div`
background-color: ${tm`color.main.light`};
color: ${tm`color.main.dark`};
`