mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Added medium_large text size
This commit is contained in:
parent
f503f060f2
commit
a96fe668a8
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue