From a96fe668a8a271e8e66d6eec8aad2bce88385289 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 17 Jul 2023 16:00:06 +0800 Subject: [PATCH] Added medium_large text size --- src/routes/UserInfo/UserInfo.tsx | 2 +- src/styles.tsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/routes/UserInfo/UserInfo.tsx b/src/routes/UserInfo/UserInfo.tsx index d521496..18fd69f 100644 --- a/src/routes/UserInfo/UserInfo.tsx +++ b/src/routes/UserInfo/UserInfo.tsx @@ -64,7 +64,7 @@ export default function UserInfo() { return ( - + {(user.first_name || "Undefined") + " " + (user.last_name || "User")} diff --git a/src/styles.tsx b/src/styles.tsx index 9f91780..7e67bdb 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -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,