mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
feat(client): add Source Serif 4 font
Install @expo-google-fonts/source-serif-4 and configure expo-font plugin in app.json to embed all weights. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -46,7 +46,29 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"expo-font"
|
||||
[
|
||||
"expo-font",
|
||||
{
|
||||
"fonts": [
|
||||
"node_modules/@expo-google-fonts/source-serif-4/200ExtraLight/SourceSerif4_200ExtraLight.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/200ExtraLight_Italic/SourceSerif4_200ExtraLight_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/300Light/SourceSerif4_300Light.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/300Light_Italic/SourceSerif4_300Light_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/400Regular/SourceSerif4_400Regular.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/400Regular_Italic/SourceSerif4_400Regular_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/500Medium/SourceSerif4_500Medium.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/500Medium_Italic/SourceSerif4_500Medium_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/600SemiBold/SourceSerif4_600SemiBold.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/600SemiBold_Italic/SourceSerif4_600SemiBold_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/700Bold/SourceSerif4_700Bold.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/700Bold_Italic/SourceSerif4_700Bold_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/800ExtraBold/SourceSerif4_800ExtraBold.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/800ExtraBold_Italic/SourceSerif4_800ExtraBold_Italic.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/900Black/SourceSerif4_900Black.ttf",
|
||||
"node_modules/@expo-google-fonts/source-serif-4/900Black_Italic/SourceSerif4_900Black_Italic.ttf"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"experiments": {
|
||||
"typedRoutes": true,
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@expo-google-fonts/inter": "^0.4.2",
|
||||
"@expo-google-fonts/source-serif-4": "^0.4.1",
|
||||
"@expo/vector-icons": "^15.0.3",
|
||||
"@react-navigation/bottom-tabs": "^7.4.0",
|
||||
"@react-navigation/elements": "^2.6.3",
|
||||
|
||||
Reference in New Issue
Block a user