Last active
April 25, 2018 16:19
-
-
Save mcavaliere/2795f2b4ba1f9b29407af3dbf1d977de to your computer and use it in GitHub Desktop.
React Native Design Systems: Typography Constants
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 Colors from './colors'; | |
export default const Typography = { | |
heading1: { | |
fontSize: 30, | |
fontWeight: 'bold', | |
lineHeight: 32, | |
color: Colors.black | |
}, | |
heading2: { | |
fontSize: 26, | |
fontWeight: 'bold', | |
lineHeight: 28, | |
color: Colors.black | |
}, | |
heading3: { | |
fontSize: 22, | |
fontWeight: 'bold', | |
lineHeight: 25, | |
color: Colors.black | |
}, | |
bodyText: { | |
fontSize: 18, | |
fontWeight: 'normal', | |
lineHeight: 21, | |
color: Colors.black | |
}, | |
// ...etc. | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment