expo-template-default 55.0.2 → 55.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/src/constants/theme.ts +6 -4
- package/src/global.css +9 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "expo-template-default",
|
|
3
3
|
"license": "0BSD",
|
|
4
4
|
"main": "expo-router/entry",
|
|
5
|
-
"version": "55.0.
|
|
5
|
+
"version": "55.0.4",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "expo start",
|
|
8
8
|
"reset-project": "node ./scripts/reset-project.js",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"@react-navigation/bottom-tabs": "^7.7.3",
|
|
17
17
|
"@react-navigation/elements": "^2.8.1",
|
|
18
18
|
"@react-navigation/native": "^7.1.28",
|
|
19
|
-
"expo": "~55.0.0-preview.
|
|
20
|
-
"expo-constants": "~55.0.
|
|
19
|
+
"expo": "~55.0.0-preview.5",
|
|
20
|
+
"expo-constants": "~55.0.1",
|
|
21
21
|
"expo-font": "~55.0.1",
|
|
22
22
|
"expo-glass-effect": "~55.0.1",
|
|
23
23
|
"expo-image": "~55.0.1",
|
|
24
|
-
"expo-linking": "~55.0.
|
|
25
|
-
"expo-router": "~55.0.0-beta.
|
|
24
|
+
"expo-linking": "~55.0.2",
|
|
25
|
+
"expo-router": "~55.0.0-beta.2",
|
|
26
26
|
"expo-splash-screen": "~55.0.1",
|
|
27
27
|
"expo-status-bar": "~55.0.1",
|
|
28
28
|
"expo-symbols": "~55.0.1",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"react-dom": "19.2.0",
|
|
33
33
|
"react-native": "0.83.1",
|
|
34
34
|
"react-native-gesture-handler": "~2.30.0",
|
|
35
|
-
"react-native-worklets": "0.7.
|
|
35
|
+
"react-native-worklets": "0.7.2",
|
|
36
36
|
"react-native-reanimated": "~4.2.1",
|
|
37
37
|
"react-native-safe-area-context": "~5.6.2",
|
|
38
38
|
"react-native-screens": "~4.20.0",
|
|
39
39
|
"react-native-web": "~0.21.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@types/react": "~19.
|
|
42
|
+
"@types/react": "~19.2.2",
|
|
43
43
|
"typescript": "~5.9.2",
|
|
44
44
|
"eslint": "^9.25.0",
|
|
45
45
|
"eslint-config-expo": "~55.0.0"
|
package/src/constants/theme.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import '@/global.css';
|
|
7
|
+
|
|
6
8
|
import { Platform } from 'react-native';
|
|
7
9
|
|
|
8
10
|
export const Colors = {
|
|
@@ -42,10 +44,10 @@ export const Fonts = Platform.select({
|
|
|
42
44
|
mono: 'monospace',
|
|
43
45
|
},
|
|
44
46
|
web: {
|
|
45
|
-
sans:
|
|
46
|
-
serif:
|
|
47
|
-
rounded:
|
|
48
|
-
mono:
|
|
47
|
+
sans: 'var(--font-display)',
|
|
48
|
+
serif: 'var(--font-serif)',
|
|
49
|
+
rounded: 'var(--font-rounded)',
|
|
50
|
+
mono: 'var(--font-mono)',
|
|
49
51
|
},
|
|
50
52
|
});
|
|
51
53
|
|
package/src/global.css
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-display:
|
|
3
|
+
Spline Sans, Inter, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji,
|
|
4
|
+
Segoe UI Symbol, Noto Color Emoji;
|
|
5
|
+
--font-mono:
|
|
6
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
|
7
|
+
--font-rounded: 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', Meiryo, 'MS PGothic', sans-serif;
|
|
8
|
+
--font-serif: Georgia, 'Times New Roman', serif;
|
|
9
|
+
}
|