Skip to content

Instantly share code, notes, and snippets.

@mcavaliere
Last active April 25, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcavaliere/2795f2b4ba1f9b29407af3dbf1d977de to your computer and use it in GitHub Desktop.
Save mcavaliere/2795f2b4ba1f9b29407af3dbf1d977de to your computer and use it in GitHub Desktop.
React Native Design Systems: Typography Constants
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