Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.