import { StyleSheet, Dimensions } from "react-native"; export const Viewport = { width: Dimensions.get("window").width, height: Dimensions.get("window").height, }; export const colors = { primary_1: "#1C2C3F", primary_2: "#445467", primary_3: "#606F81", primary_4: "#b4d0f3", secondary_1: "#1E1F3D", secondary_2: "#626297", secondary_3: "#7a7abd", secondary_4: "#FFE9CE", secondary_5: "#FFF5E9", text_default: "#FFFF", text_dark: "black", text_error: "#e32d1e", text_success: "#2ecc71", icon_color: "#FFFF", head: "#FFFF", }; export const font_sizes = { tiny: 12, small: 16, medium: 24, medium_large: 30, large: 36, xl: 48, }; const styles = StyleSheet.create({ background: { backgroundColor: colors.secondary_1, height: "100%", width: "100%", }, container: { alignItems: "center", alignSelf: "center", justifyContent: "center", display: "flex", flexDirection: "column", flex: 1, paddingHorizontal: 4, }, flex_row: { display: "flex", flexDirection: "row", alignItems: "center", }, flex_column: { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", }, text_white_tiny: { color: colors.text_default, fontSize: font_sizes.tiny, fontWeight: "bold", textAlign: "center", }, text_white_small: { color: colors.text_default, fontSize: font_sizes.small, fontWeight: "bold", textAlign: "center", }, text_white_medium: { color: colors.text_default, fontSize: font_sizes.medium, fontWeight: "bold", textAlign: "center", }, text_white_medium_large: { color: colors.text_default, fontSize: font_sizes.medium_large, fontWeight: "bold", textAlign: "center", }, text_white_large: { color: colors.text_default, fontSize: font_sizes.large, fontWeight: "bold", textAlign: "center", }, text_white_xl: { color: colors.text_default, fontSize: font_sizes.xl, fontWeight: "bold", textAlign: "center", }, text_white_small_bold: { color: colors.text_default, fontSize: font_sizes.small, fontWeight: "bold", textAlign: "center", }, text_white_tiny_bold: { color: colors.text_default, fontSize: font_sizes.tiny, fontWeight: "bold", textAlign: "center", }, text_black_tiny: { color: colors.text_dark, fontSize: font_sizes.tiny, fontWeight: "bold", textAlign: "center", }, text_black_small: { color: colors.text_dark, fontSize: font_sizes.small, fontWeight: "bold", textAlign: "center", }, text_black_medium: { color: colors.text_dark, fontSize: font_sizes.medium, fontWeight: "bold", textAlign: "center", }, text_black_medium_large: { color: colors.text_dark, fontSize: font_sizes.medium_large, fontWeight: "bold", textAlign: "center", }, text_black_large: { color: colors.text_dark, fontSize: font_sizes.large, fontWeight: "bold", textAlign: "center", }, text_black_xl: { color: colors.text_dark, fontSize: font_sizes.xl, fontWeight: "bold", textAlign: "center", }, button_template: { justifyContent: "center", alignSelf: "center", alignItems: "center", textAlign: "center", display: "flex", flexDirection: "row", marginVertical: 4, marginHorizontal: 8, padding: 8, borderRadius: 16, width: Viewport.width * 0.4, }, text_input: { color: colors.text_default, backgroundColor: colors.primary_2, borderColor: colors.primary_4, borderWidth: 1, padding: 10, borderRadius: 8, width: Viewport.width * 0.5, }, dropdown_template: { backgroundColor: colors.primary_2, containerStyle: colors.primary_2, borderRadius: 8, width: "70%", }, map: { marginVertical: 4, height: Viewport.height * 0.7, width: Viewport.width * 0.8, alignSelf: "center", }, profile: { height: 64, width: 64, alignSelf: "center", borderRadius: 150 / 2, overflow: "hidden", padding: 0, borderColor: colors.primary_2, borderWidth: 3, }, input: { paddingHorizontal: 8, marginVertical: 2, borderWidth: 1, color: colors.text_default, backgroundColor: colors.primary_2, borderRadius: 8, borderColor: colors.primary_3, }, padding: { paddingVertical: 8, }, calloutContainer: { backgroundColor: colors.secondary_1, padding: 0, border: 0, }, }); export default styles;