Added medium_large text size

This commit is contained in:
Keannu Bernasol 2023-07-17 16:00:06 +08:00
parent f503f060f2
commit a96fe668a8
2 changed files with 8 additions and 1 deletions

View file

@ -64,7 +64,7 @@ export default function UserInfo() {
return (
<ScrollView style={styles.background}>
<AnimatedContainer>
<Text style={styles.text_white_large}>
<Text style={styles.text_white_medium_large}>
{(user.first_name || "Undefined") + " " + (user.last_name || "User")}
</Text>
<View>

View file

@ -27,6 +27,7 @@ export const font_sizes = {
tiny: 12,
small: 16,
medium: 24,
medium_large: 30,
large: 36,
xl: 48,
};
@ -75,6 +76,12 @@ const styles = StyleSheet.create({
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,