Created
December 8, 2017 18:20
-
-
Save alanbsmith/b7a07f19a16a676e43d906e97c49b582 to your computer and use it in GitHub Desktop.
structuring-our-styled-components-example-modifiers
This file contains hidden or 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
const modifierConfig = { | |
darkGreyText: ({ theme }) => ` | |
color: ${theme.colors.base.text}; | |
`, | |
midGreyText: ({ theme }) => ` | |
color: ${theme.colors.base.textLight}; | |
`, | |
uppercase: () => ` | |
text-transform: uppercase; | |
`, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment