Skip to content

Instantly share code, notes, and snippets.

@benthehenten
Last active March 7, 2017 02:27
Show Gist options
  • Save benthehenten/1a040c5a94190a938addc555ee30310b to your computer and use it in GitHub Desktop.
Save benthehenten/1a040c5a94190a938addc555ee30310b to your computer and use it in GitHub Desktop.
// colors
const YELLOW = '#FFF83C';
// fonts
const BOLD = 700;
const TIMES_NEW_ROMAN = '"Times New Roman", Georgia, Serif';
// shared constants
const border = `1px solid ${YELLOW}`;
const styles = StyleSheet.create({
textBox: {
color: YELLOW,
fontFamily: TIMES_NEW_ROMAN,
fontWeight: BOLD,
border, // es6 property shorthand
},
)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment