Spaces:
Sleeping
Sleeping
File size: 1,264 Bytes
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 |
import { StyleSheet } from "react-native";
import Theme from "@/constants/theme";
export const __styles:any = (theme_type:string,Dimensions:any) => {
return StyleSheet.create({
menu_container: {
display: "flex",
flexDirection: "row",
justifyContent: "space-around",
alignItems: "center",
width: "100%",
height:"auto",
backgroundColor: Theme[theme_type].background_color,
padding: 8,
borderTopWidth: 0.5,
borderColor: Theme[theme_type].border_color,
},
menu_button_box:{
display:"flex",
alignItems:"center",
},
selected_menu_button: {
backgroundColor: Theme[theme_type].button_color,
paddingHorizontal: 16,
paddingVertical: 8,
borderRadius: 12,
},
menu_button: {
borderWidth: 0,
paddingHorizontal: 16,
paddingVertical: 8,
borderRadius: 12,
},
menu_button_text: {
color: Theme[theme_type].text_color,
fontSize: ((Dimensions.width+Dimensions.height)/2)*0.018,
height:"auto",
}
})} |