UNPKG

create-nova-expo-template

Version:

A template for creating a new React Native app using Expo and TypeScript, with a focus on performance and best practices.

42 lines (39 loc) 901 B
import { StyleSheet } from "react-native"; import { COLORS } from "@/constants/Colors"; import GLOBAL_STYLES from "@/constants/GlobalStyles"; import { theme } from "@/utils/getTheme"; const styles = StyleSheet.create({ button: { alignItems: "center", borderRadius: 8, flexDirection: "row", height: 40, justifyContent: "center", paddingHorizontal: 15, }, prefixSpacing: { marginEnd: 8, }, smallSpaceEnd: { marginEnd: 4 }, suffixSpacing: { marginStart: 10, }, text: { fontSize: 16, lineHeight: 28, textAlign: "center", ...GLOBAL_STYLES.font700, }, filled: { backgroundColor: COLORS[theme].primary, }, outlined: { backgroundColor: "transparent", borderWidth: 1, }, underlined: { backgroundColor: "transparent", borderBottomWidth: 1, }, }); export default styles;