Skip to content

Instantly share code, notes, and snippets.

@janhesters
Last active September 24, 2018 21:23
Show Gist options
  • Save janhesters/8aa2f7b4d137a7207db177dcdde66886 to your computer and use it in GitHub Desktop.
Save janhesters/8aa2f7b4d137a7207db177dcdde66886 to your computer and use it in GitHub Desktop.
import { Platform, StyleSheet } from "react-native";
const primaryBlue = Platform.select({
ios: "#007aff", // rgb(0, 122, 255)
android: "#2196f3" // rgb(33, 150, 243)
});
const imageWidth = "80%";
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: "space-evenly",
alignItems: "center"
},
forgottenPasswordButtonContainer: {
width: imageWidth
},
forgottenPasswordTitle: {
color: primaryBlue
},
loginButtonContainer: {
width: imageWidth
},
loginButton: {
backgroundColor: primaryBlue
},
loginButtonTitle: {
color: "white"
},
disabled: {
backgroundColor: primaryBlue,
opacity: 0.3
}
});
export default styles;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment