150 lines
2.9 KiB
TypeScript
150 lines
2.9 KiB
TypeScript
import { StyleSheet } from "react-native";
|
|
import { Colors } from "@/constants/colors";
|
|
|
|
const styles = StyleSheet.create({
|
|
mainContainer: {
|
|
flex: 1,
|
|
backgroundColor: Colors.header,
|
|
},
|
|
showImage: {
|
|
width: 200,
|
|
height: 200,
|
|
alignSelf: "center",
|
|
resizeMode: "contain",
|
|
bottom: 10,
|
|
},
|
|
showMainInfoSection: {
|
|
width: "auto",
|
|
height: "auto",
|
|
alignSelf: "center",
|
|
flexDirection: "row",
|
|
justifyContent: "center",
|
|
alignItems: "center",
|
|
bottom: 25,
|
|
},
|
|
showInfoText: {
|
|
color: Colors.textSecondary,
|
|
fontSize: 14,
|
|
},
|
|
dot: {
|
|
width: 4,
|
|
height: 4,
|
|
borderRadius: 3,
|
|
backgroundColor: Colors.textSecondary,
|
|
marginHorizontal: 7,
|
|
marginTop: 2,
|
|
},
|
|
showBannerLogoContainer: {
|
|
width: "100%",
|
|
height: 200,
|
|
alignSelf: "center",
|
|
borderTopLeftRadius: 80,
|
|
borderTopRightRadius: 80,
|
|
marginTop: 15,
|
|
},
|
|
showBannerLogo: {
|
|
width: "100%",
|
|
height: "100%",
|
|
borderTopLeftRadius: 30,
|
|
borderTopRightRadius: 30,
|
|
},
|
|
infoContainner: {
|
|
width: "100%",
|
|
minHeight: "auto",
|
|
paddingHorizontal: 20,
|
|
paddingVertical: 15,
|
|
backgroundColor: Colors.background,
|
|
flexDirection: "row",
|
|
gap: 20,
|
|
},
|
|
infoLabel: {
|
|
fontWeight: "300",
|
|
color: Colors.textSecondary,
|
|
fontSize: 16,
|
|
},
|
|
participantsDetailsContainer: {
|
|
width: "100%",
|
|
height: "100%",
|
|
backgroundColor: Colors.card,
|
|
},
|
|
participantContainer: {
|
|
height: 160,
|
|
width: 110,
|
|
backgroundColor: Colors.primary,
|
|
borderRadius: 10,
|
|
marginBottom: 30,
|
|
},
|
|
participantSection: {
|
|
flexDirection: "row",
|
|
flexWrap: "wrap",
|
|
gap: 15,
|
|
paddingLeft: 15,
|
|
paddingTop: 15,
|
|
},
|
|
seasonsSection: {
|
|
width: "100%",
|
|
minHeight: 40,
|
|
backgroundColor: Colors.card,
|
|
flexDirection: "row",
|
|
alignItems: "center",
|
|
gap: 10,
|
|
paddingHorizontal: 20,
|
|
},
|
|
seasonList: {
|
|
flexDirection: "row",
|
|
alignItems: "center",
|
|
gap: 10,
|
|
paddingLeft: 5,
|
|
paddingRight: 5,
|
|
},
|
|
seasonContainer: {
|
|
width: 35,
|
|
height: 35,
|
|
borderRadius: 5,
|
|
backgroundColor: "hsl(0, 0%, 20%)",
|
|
justifyContent: "center",
|
|
alignItems: "center",
|
|
},
|
|
seasonLabel: {
|
|
color: Colors.text,
|
|
fontWeight: "bold",
|
|
},
|
|
participantLabel: {
|
|
color: Colors.text,
|
|
fontWeight: "500",
|
|
textAlign: "center",
|
|
fontSize: 11,
|
|
marginTop: 10,
|
|
},
|
|
seasonsLabel: {
|
|
color: Colors.textSecondary,
|
|
fontWeight: "500",
|
|
fontSize: 16,
|
|
},
|
|
detailTitle: {
|
|
color: Colors.text,
|
|
fontSize: 14,
|
|
fontWeight: "bold",
|
|
marginTop: 10,
|
|
marginLeft: 20,
|
|
marginBottom: 5,
|
|
},
|
|
detailLabel: {
|
|
color: Colors.textSecondary,
|
|
fontSize: 14,
|
|
lineHeight: 20,
|
|
width: "90%",
|
|
fontWeight: "300",
|
|
marginLeft: 20,
|
|
marginTop: 5,
|
|
},
|
|
startDate: {
|
|
color: Colors.textSecondary,
|
|
fontSize: 16,
|
|
textAlign: "center",
|
|
marginTop: 15,
|
|
fontStyle: "italic",
|
|
},
|
|
});
|
|
export default styles;
|