Last active
September 24, 2018 21:23
-
-
Save janhesters/8aa2f7b4d137a7207db177dcdde66886 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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