import { StyleSheet, Text } from "react-native";
import { colors } from "../../theme/colors";
import { typography } from "../../theme/typography";

export default function AppText({ children, style }: any) {
  return <Text style={[styles.title, style]}>{children}</Text>;
}

const styles = StyleSheet.create({
    title : {
        marginTop: 10,
        marginBottom: 6,
        fontSize: 30,
        fontFamily: typography.semibold,
        color: colors.brandOrange1,
        letterSpacing: 1.5,
    },

    subtitle: {
        fontFamily: typography.regular,
        color: colors.textDark,
    },

  centerWrapper: {
    alignItems: "center",
    justifyContent: "center",
    marginBottom: 40,
},
});
