UNPKG

@questlabs/react-native-sdk

Version:
206 lines (199 loc) 4.53 kB
import { StyleSheet, Dimensions } from "react-native"; // const screenWidth = Dimensions.get("window").width; // const windowWidth = Dimensions.get('screen').width export const styles = StyleSheet.create({ loadingMainView: { flex: 1, justifyContent: "center", alignItems: "center" }, mainViewStyle: { backgroundColor: "white", borderRadius: 12.3, width: "100%", }, formHeaderStyle: { padding: 20, flexDirection: "row", justifyContent: "space-between", alignItems: "center", }, headerViewStyle: { borderBottomWidth: 1, borderColor: "#EFEFEF", }, headerInnerStyle: { padding: 20, flexDirection: "row", justifyContent: "flex-end", alignItems: "center", }, headerText: { fontSize: 20, fontWeight: "600", lineHeight: 30, }, cardDesciptionText: { fontSize: 12, fontWeight: "400", color: "#939393", 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' }, getStartButtonViewStyle: { // flex: 1, paddingHorizontal: 20, justifyContent: "center", alignItems: "center", backgroundColor: "#0065FF", borderRadius: 10, alignContent: "center", marginHorizontal: 20, }, questsView: { padding: 12, flexDirection: "row", gap: 12, alignItems: "center", }, questsNameText: { color: "#2C2C2C", fontSize: 14, fontStyle: "normal", fontWeight: "500", lineHeight: 20, }, questsDescriptionText: { color: "#939393", fontSize: 12, fontWeight: "400", lineHeight: 16, }, ImageViewStyle: { margin: 28, alignItems: "center", }, ImageTextstyle: { maxHeight: 254, maxWidth: 264, // height: screenWidth * 0.65, // width: screenWidth * 0.68, }, midContainerViewStyles: { padding: 20, }, modalOutterViewStyle: { flex: 1, justifyContent: "center", alignItems: "center", backgroundColor: "rgba(0, 0, 0, 0.3)", }, textInputInnerStyle: { marginHorizontal: 10, alignItems: "center", }, 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: "96%", backgroundColor: "#fff", borderRadius: 10, }, 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", }, 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", }, successFooterViewStyle: { paddingVertical: 10, paddingHorizontal: 20, borderTopWidth: 1, borderColor: "#EFEFEF", }, successFooterTextStyle: { fontSize: 12, fontStyle: "normal", fontWeight: "400", lineHeight: 16, color: "#B9B9B9", textAlign: "center", }, });