Spaces:
Sleeping
Sleeping
File size: 2,094 Bytes
947c08e cd23862 947c08e cd23862 947c08e 0ab8c90 947c08e 0ab8c90 947c08e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
import { StyleSheet } from "react-native";
import Theme from "@/constants/theme";
export const __styles:any = (theme_type:string,Dimensions:any) => {
return StyleSheet.create({
screen_container: {
display: "flex",
width: "100%",
height: "100%",
backgroundColor: Theme[theme_type].background_color,
},
header_container: {
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
paddingHorizontal: 15,
paddingVertical:10,
backgroundColor: Theme[theme_type].background_color,
borderBottomWidth: 0.5,
borderColor: Theme[theme_type].border_color,
},
header_text:{
fontFamily: "roboto-medium",
fontSize: ((Dimensions.width+Dimensions.height)/2)*0.04,
color: Theme[theme_type].text_color,
},
header_search_button:{
borderRadius:5,
borderWidth:0,
padding:5,
},
item_box:{
display:"flex",
flexDirection:"column",
alignItems:"center",
gap:15,
height:"auto",
width:Math.max(((Dimensions.width+Dimensions.height)/2)*0.225,100),
borderRadius:8,
},
item_cover:{
width:"100%",
height:Math.max(((Dimensions.width+Dimensions.height)/2)*0.325,125),
borderRadius:8,
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 1,
},
shadowOpacity: 0.22,
shadowRadius: 2.22,
elevation: 3,
},
item_title:{
color: Theme[theme_type].text_color,
fontFamily: "roboto-medium",
fontSize: ((Dimensions.width+Dimensions.height)/2)*0.025,
width:"100%",
height:"auto",
textAlign:"center",
flexShrink:1,
}
})} |