-
-
Save garethpbk/f324e9932e46bed117f1991aad747c36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getColor } from './theme'; | |
const Title = styled.h1` | |
background-color: ${getColor('primary')}; | |
color: ${getColor('white')}; | |
font-size: ${props => props.theme.sizes.lg}; | |
padding: 25px; | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment