Skip to content

Instantly share code, notes, and snippets.

@DevGW
Created December 29, 2022 13:44
Show Gist options
  • Save DevGW/b4d46516e7eb7503d50f98284c27c1e9 to your computer and use it in GitHub Desktop.
Save DevGW/b4d46516e7eb7503d50f98284c27c1e9 to your computer and use it in GitHub Desktop.
React App Template :: global.js
import React from 'react';
import { StyleSheet } from 'react-native';
export const globalStyles = StyleSheet.create({
scorestream: {
// flex: 1,
padding: 3,
position: 'absolute',
top: 90,
height: 65,
fontSize: 140,
fontStyle: 'italic',
width: '100%',
backgroundColor: 'white',
borderColor: 'black',
borderWidth: 0,
zIndex: 99999,
},
scoreheader: {
marginBottom: 7,
fontSize: 15,
color: 'black',
textDecorationLine: 'underline',
textAlign: 'center',
},
scoreStreamText: {
fontSize: 17,
fontStyle: 'italic',
color: 'green',
// backgroundColor: 'black',
},
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: '#666',
paddingBottom: 22,
},
startButtonView: {
// position: 'absolute',
},
startButton: {
backgroundColor: 'darkblue',
marginTop: 50,
padding: 5,
borderRadius: 15,
},
startButtonText: {
fontSize: 40,
color: 'yellow',
fontWeight: 'bold',
},
winnerView: {
// position: 'absolute',
margin: 'auto',
justifyContent: 'center',
alignItems: 'center',
padding: 22,
backgroundColor: "white",
// paddingBottom: 25,
borderRadius: 15,
textAlign: 'center',
},
winnerText: {
fontSize: 30,
color: 'darkblue',
paddingBottom: 15,
},
shotTextView: {
// fontSize: 30,
color: 'darkblue',
paddingBottom: 15,
alignItems: 'center',
justifyContent: 'center',
textAlign: 'center',
},
tryAgainButton: {
padding: 5,
backgroundColor: 'darkblue',
borderRadius: 10,
marginTop: 10,
},
tryAgainText: {
fontSize: 20,
fontWeight: 'bold',
color: 'yellow',
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment