Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mcavaliere
Last active April 25, 2018 15:38
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/93c41eace7f2519a77e171d0c3b5ece7 to your computer and use it in GitHub Desktop.
Save mcavaliere/93c41eace7f2519a77e171d0c3b5ece7 to your computer and use it in GitHub Desktop.
React Native Design Systems: Component Styles
import Constants from '../../global/constants';
import Colors from '../../global/styles/colors';
import Typography from '../../global/styles/typography';
import { StyleSheet } from 'react-native';
export default StyleSheet.create({
titleContainer: {
backgroundColor: Colors.green,
padding: Constants.GAP
},
title: Object.assign({}, Typography.heading3, {
color: Colors.black
}),
contentContainer: {
padding: Constants.GAP
},
content: Object.assign({}, Typography.bodyText)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment