From 5e092316db8337148b7ab860d69c2f1d3f6d5560 Mon Sep 17 00:00:00 2001 From: Elias Biagioni Date: Fri, 6 Dec 2024 15:17:46 -0300 Subject: [PATCH] Remove old fonts --- .../mobile/react-native/src/utils/fonts.ts | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/{{cookiecutter.project_slug}}/clients/mobile/react-native/src/utils/fonts.ts b/{{cookiecutter.project_slug}}/clients/mobile/react-native/src/utils/fonts.ts index d0b80844a..a78ee7cfe 100644 --- a/{{cookiecutter.project_slug}}/clients/mobile/react-native/src/utils/fonts.ts +++ b/{{cookiecutter.project_slug}}/clients/mobile/react-native/src/utils/fonts.ts @@ -13,31 +13,4 @@ export const customFonts = { [`${baseFamily}-Medium` as const]: require(`../../assets/fonts/${baseFamily}-Medium.${fontFormat}`), [`${baseFamily}-MediumItalic` as const]: require(`../../assets/fonts/${baseFamily}-MediumItalic.${fontFormat}`), [`${baseFamily}-Regular` as const]: require(`../../assets/fonts/${baseFamily}-Regular.${fontFormat}`), -} - -type FontFamily = keyof typeof customFonts - -export type FontWeightStyle = - | 'light' - | 'italic-light' - | 'regular' - | 'italic' - | 'medium' - | 'italic-medium' - | 'black' - | 'italic-black' - | 'bold' - | 'italic-bold' - -export const fontFamilyWeightMap: Record = { - light: `${baseFamily}-Light`, - 'italic-light': `${baseFamily}-LightItalic`, - regular: `${baseFamily}-Regular`, - italic: `${baseFamily}-Italic`, - medium: `${baseFamily}-Medium`, - 'italic-medium': `${baseFamily}-MediumItalic`, - black: `${baseFamily}-Black`, - 'italic-black': `${baseFamily}-BlackItalic`, - bold: `${baseFamily}-Bold`, - 'italic-bold': `${baseFamily}-BoldItalic`, -} +} \ No newline at end of file