308 lines
5.8 KiB
JavaScript
308 lines
5.8 KiB
JavaScript
import { StyleSheet } from 'react-native';
|
|
import Colors from './colors';
|
|
|
|
const rewardStyle = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: Colors.PageBackground,
|
|
},
|
|
row: {
|
|
flexDirection: 'row',
|
|
justifyContent: 'space-between',
|
|
alignItems: 'center',
|
|
},
|
|
actionButton: {
|
|
backgroundColor: Colors.LbryGreen,
|
|
alignSelf: 'flex-start',
|
|
paddingTop: 9,
|
|
paddingBottom: 9,
|
|
paddingLeft: 24,
|
|
paddingRight: 24,
|
|
},
|
|
busyContainer: {
|
|
flex: 1,
|
|
marginTop: 32,
|
|
marginBottom: 16,
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
flexDirection: 'row',
|
|
},
|
|
enrollContainer: {
|
|
flex: 1,
|
|
marginTop: 76,
|
|
marginLeft: 16,
|
|
marginRight: 16,
|
|
marginBottom: 16,
|
|
padding: 24,
|
|
backgroundColor: Colors.LbryGreen,
|
|
},
|
|
onboarding: {
|
|
marginTop: 36,
|
|
},
|
|
enrollDescText: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 18,
|
|
lineHeight: 28,
|
|
color: Colors.White,
|
|
},
|
|
rewardsContainer: {
|
|
flex: 1,
|
|
},
|
|
scrollContainer: {
|
|
marginTop: 60,
|
|
},
|
|
scrollContentContainer: {
|
|
paddingBottom: 16,
|
|
},
|
|
card: {
|
|
backgroundColor: Colors.White,
|
|
marginTop: 16,
|
|
marginLeft: 16,
|
|
marginRight: 16,
|
|
padding: 16,
|
|
},
|
|
rewardCard: {
|
|
backgroundColor: Colors.White,
|
|
marginTop: 16,
|
|
marginLeft: 16,
|
|
marginRight: 16,
|
|
paddingTop: 16,
|
|
paddingBottom: 16,
|
|
},
|
|
text: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 16,
|
|
lineHeight: 24,
|
|
},
|
|
infoText: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 18,
|
|
marginLeft: 12,
|
|
},
|
|
title: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 22,
|
|
marginBottom: 6,
|
|
color: Colors.LbryGreen,
|
|
},
|
|
subtitle: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 18,
|
|
marginBottom: 6,
|
|
color: Colors.LbryGreen,
|
|
},
|
|
subcardText: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 15,
|
|
lineHeight: 20,
|
|
marginLeft: 2,
|
|
marginRight: 2,
|
|
},
|
|
subcardTextInput: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 16,
|
|
marginTop: 2,
|
|
marginBottom: 2,
|
|
},
|
|
topMarginSmall: {
|
|
marginTop: 8,
|
|
},
|
|
topMarginMedium: {
|
|
marginTop: 16,
|
|
},
|
|
bottomMarginSmall: {
|
|
marginBottom: 8,
|
|
},
|
|
bottomMarginMedium: {
|
|
marginBottom: 16,
|
|
},
|
|
bottomMarginLarge: {
|
|
marginBottom: 24,
|
|
},
|
|
leftRightMargin: {
|
|
marginLeft: 32,
|
|
marginRight: 32,
|
|
},
|
|
link: {
|
|
color: Colors.LbryGreen,
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 14,
|
|
},
|
|
textLink: {
|
|
color: Colors.White,
|
|
},
|
|
underlinedTextLink: {
|
|
color: Colors.White,
|
|
textDecorationLine: 'underline',
|
|
},
|
|
greenLink: {
|
|
color: Colors.LbryGreen,
|
|
},
|
|
leftCol: {
|
|
width: '15%',
|
|
alignItems: 'center',
|
|
paddingLeft: 6,
|
|
},
|
|
midCol: {
|
|
width: '65%',
|
|
},
|
|
rightCol: {
|
|
width: '18%',
|
|
alignItems: 'center',
|
|
},
|
|
rewardAmount: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 26,
|
|
textAlign: 'center',
|
|
},
|
|
rewardCurrency: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
},
|
|
rewardTitle: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 16,
|
|
color: Colors.LbryGreen,
|
|
marginBottom: 4,
|
|
},
|
|
rewardDescription: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 14,
|
|
lineHeight: 18,
|
|
marginBottom: 4,
|
|
},
|
|
claimed: {
|
|
color: Colors.LbryGreen,
|
|
},
|
|
disabled: {
|
|
color: Colors.LightGrey,
|
|
},
|
|
subcard: {
|
|
borderTopColor: Colors.VeryLightGrey,
|
|
borderTopWidth: 1,
|
|
paddingTop: 16,
|
|
paddingLeft: 8,
|
|
paddingRight: 8,
|
|
marginTop: 16,
|
|
marginLeft: -8,
|
|
marginRight: -8,
|
|
},
|
|
summaryContainer: {
|
|
backgroundColor: Colors.LbryGreen,
|
|
padding: 16,
|
|
marginTop: 16,
|
|
marginLeft: 16,
|
|
marginRight: 16,
|
|
},
|
|
summaryRow: {
|
|
flexDirection: 'row',
|
|
},
|
|
summaryText: {
|
|
color: Colors.White,
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 28,
|
|
marginLeft: 12,
|
|
},
|
|
phoneVerificationContainer: {
|
|
paddingLeft: 4,
|
|
paddingRight: 4,
|
|
},
|
|
phoneInput: {
|
|
marginLeft: 32,
|
|
marginRight: 32,
|
|
},
|
|
phoneInputText: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 16,
|
|
letterSpacing: 1.3,
|
|
color: Colors.White,
|
|
},
|
|
verifyingText: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 14,
|
|
marginLeft: 12,
|
|
alignSelf: 'flex-start',
|
|
},
|
|
verificationCodeInput: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
color: Colors.White,
|
|
fontSize: 24,
|
|
letterSpacing: 12,
|
|
marginLeft: 32,
|
|
marginRight: 32,
|
|
},
|
|
loading: {
|
|
alignSelf: 'flex-start',
|
|
},
|
|
smsPermissionContainer: {
|
|
marginBottom: 32,
|
|
},
|
|
buttonRow: {
|
|
width: '100%',
|
|
position: 'absolute',
|
|
alignItems: 'center',
|
|
left: 24,
|
|
bottom: 24,
|
|
flexDirection: 'row',
|
|
justifyContent: 'space-between',
|
|
},
|
|
notInterestedLink: {
|
|
fontSize: 14,
|
|
fontFamily: 'Inter-UI-Regular',
|
|
color: Colors.White,
|
|
},
|
|
enrollButton: {
|
|
backgroundColor: Colors.White,
|
|
paddingLeft: 16,
|
|
paddingRight: 16,
|
|
},
|
|
customCodeInput: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
fontSize: 16,
|
|
letterSpacing: 1.3,
|
|
marginTop: -8,
|
|
marginBottom: 4,
|
|
},
|
|
redeemButton: {
|
|
alignSelf: 'flex-end',
|
|
backgroundColor: Colors.LbryGreen,
|
|
},
|
|
failureFootnote: {
|
|
marginTop: 32,
|
|
marginLeft: 32,
|
|
marginRight: 32,
|
|
},
|
|
buttonContainer: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
justifyContent: 'space-between',
|
|
width: '100%',
|
|
paddingLeft: 32,
|
|
paddingRight: 32,
|
|
marginTop: 8,
|
|
},
|
|
verificationTitle: {
|
|
fontSize: 32,
|
|
color: Colors.White,
|
|
fontFamily: 'Inter-UI-Regular',
|
|
marginLeft: 32,
|
|
marginRight: 32,
|
|
marginBottom: 24,
|
|
},
|
|
verificationButton: {
|
|
backgroundColor: Colors.White,
|
|
paddingLeft: 16,
|
|
paddingRight: 16,
|
|
},
|
|
verificationLink: {
|
|
color: Colors.White,
|
|
fontSize: 14,
|
|
},
|
|
paragraphText: {
|
|
fontFamily: 'Inter-UI-Regular',
|
|
color: Colors.White,
|
|
fontSize: 12,
|
|
lineHeight: 16,
|
|
},
|
|
});
|
|
|
|
export default rewardStyle;
|