Skip to content

Instantly share code, notes, and snippets.

@jackleonard
Created March 26, 2018 13:23
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 jackleonard/90f6ab61a5d967a62ebef07b6bd97d0f to your computer and use it in GitHub Desktop.
Save jackleonard/90f6ab61a5d967a62ebef07b6bd97d0f to your computer and use it in GitHub Desktop.
React native
// Color palette
const colors = {
white: "#ffffff",
ultramarine: "#2501c5",
red: "#f00000",
tomato: "#dc281e",
greyish_brown: "#424242",
barney: "#9a12b3",
blueberry: "#663399",
dark_cyan: "#079493",
charcoal_grey: "#2b2b30",
text_shadow_style_orderdetail: "rgba(0, 0, 0, 0.23)",
aqua_marine: "#5de6ba",
text_shadow_style_orderdetail_24: "rgba(0, 0, 0, 0.24)",
text_shadow_style_orderdetail_27: "rgba(0, 0, 0, 0.27)",
buttoncard_textshadow: "rgba(0, 0, 0, 0.35)"
};
// Text styles
const textStyles = StyleSheet.create({
totalTypestyle: {
fontFamily: "HelveticaNeue",
fontSize: 48,
fontWeight: "normal",
fontStyle: "normal",
letterSpacing: 0,
textAlign: "center",
color: colors.aqua_marine
},
quantityText: {
fontFamily: "HelveticaNeue",
fontSize: 15,
fontWeight: "500",
fontStyle: "normal",
letterSpacing: 0,
textAlign: "left",
color: "#ababcb"
},
oderDetailHeading: {
fontFamily: "HelveticaNeue",
fontSize: 15,
fontWeight: "300",
fontStyle: "normal",
letterSpacing: 0,
textAlign: "left",
color: "#ababcb"
},
totalHeadingSpacedTOTALTextStyle: {
fontFamily: "HelveticaNeue",
fontSize: 14,
fontWeight: "normal",
fontStyle: "normal",
letterSpacing: 3.89,
textAlign: "center",
color: colors.white
},
itemPriceTextstyle: {
fontFamily: "HelveticaNeue",
fontSize: 13,
fontWeight: "300",
fontStyle: "normal",
letterSpacing: 0,
textAlign: "left",
color: colors.aqua_marine
},
textStyle: {
fontFamily: "HelveticaNeue",
fontSize: 11,
fontWeight: "300",
fontStyle: "normal",
letterSpacing: 0,
textAlign: "center",
color: colors.white
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment