@questlabs/react-native-sdk
Version:
Quest react native sdk
179 lines (174 loc) • 3.89 kB
text/typescript
import { StyleSheet } from "react-native";
export const styles = StyleSheet.create({
loadingMainView: {
flex: 1,
justifyContent: "center",
alignItems: "center",
},
mainView: {
backgroundColor: "white",
borderRadius: 12,
width: "100%",
maxHeight: "100%",
},
HeaderView: {
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
alignItems: "flex-start",
paddingVertical: 20,
paddingHorizontal: 20,
gap: 12,
alignSelf: "stretch",
borderBottomColor: "#EFEFEF",
borderBottomWidth: 1,
},
HeaderText: {
fontSize: 20,
color: "#2C2C2C",
fontWeight: "600",
lineHeight: 30,
},
DescriptionText: {
color: "#B9B9B9",
fontSize: 12,
fontStyle: "normal",
fontWeight: "400",
lineHeight: 16,
marginTop: 4,
},
inputMainView: {
flexDirection: "row",
alignItems: "center",
borderColor: "#ECECEC",
paddingHorizontal: 16,
paddingVertical: 10,
borderRadius: 10,
marginTop: 4,
borderWidth: 1,
},
inputHeaderText: {
color: "#4C4C4C",
fontSize: 12,
fontStyle: "normal",
fontWeight: "500",
lineHeight: 16,
},
textInputInnerView: {
alignItems: "center",
flex: 1,
height: 20,
fontSize: 14,
fontStyle: "normal",
fontWeight: "400",
lineHeight: 20,
// color:'#8E8E8E'
},
textAreaInnerView: {
alignItems: "center",
flex: 1,
fontSize: 14,
fontStyle: "normal",
fontWeight: "400",
lineHeight: 20,
// color:'#8E8E8E'
},
previousButtonViewStyle: {
paddingHorizontal: 20,
paddingVertical: 10,
justifyContent: "center",
alignItems: "center",
flexDirection: "row",
flex: 1,
borderWidth: 1.5,
borderColor: "#EFEFEF",
borderRadius: 10,
},
getStartButtonViewStyle: {
paddingHorizontal: 20,
justifyContent: "center",
alignItems: "center",
flexDirection: "row",
flex: 1,
borderRadius: 10,
},
footerView: {
display: "flex",
paddingVertical: 10,
paddingHorizontal: 20,
justifyContent: "center",
gap: 8,
alignSelf: "stretch",
backgroundColor: "#FBFBFB",
borderBottomStartRadius: 12,
borderBottomEndRadius: 12,
},
footerInnerView: {
display: "flex",
justifyContent: "space-between",
flexDirection: "row",
alignItems: "center",
},
footerText: {
fontSize: 12,
fontStyle: "normal",
fontWeight: "400",
lineHeight: 16,
color: "#B9B9B9",
},
submitButtonViewStyle: {
paddingVertical: 10,
paddingHorizontal: 20,
borderRadius: 10,
// backgroundColor: "#9035FF",
marginTop: 20,
borderWidth: 1.5,
borderColor: "#EFEFEF",
},
submitButtonTextStyle: {
// color: "#FFF",
fontSize: 14,
textAlign: "center",
fontWeight: "400",
lineHeight: 20,
},
successModalViewStyle: {
width: "100%",
backgroundColor: "#fff",
borderRadius: 12,
},
successCrossViewStyle: { position: "absolute", top: 20, right: 20 },
successHeaderTextStyle: {
color: "black",
fontSize: 24,
fontWeight: "600",
textAlign: "center",
},
successDescriptionTextStyle: {
color: "#5E5E5E",
fontSize: 14,
fontWeight: "400",
textAlign: "center",
},
midContainerViewStyles: {
padding: 20,
},
modalOutterViewStyle: {
flex: 1,
justifyContent: "center",
alignItems: "center",
backgroundColor: "rgba(0, 0, 0, 0.3)",
padding: 20,
borderRadius: 12,
},
ImageViewStyle: {
margin: 28,
alignItems: "center",
},
SuccessHeaderView: {
display: "flex",
alignItems: "flex-end",
paddingVertical: 20,
paddingHorizontal: 20,
},
});