-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme.js
More file actions
29 lines (26 loc) · 750 Bytes
/
theme.js
File metadata and controls
29 lines (26 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { Colors, Typography } from "react-native-ui-lib";
import { colors } from "./assets/styles/globalStyles";
Colors.loadColors({
$textDefault: "white",
$textPrimary: colors.primary,
$backgroundPrimaryHeavy: colors.primary,
$backgroundDefault: colors.dark,
$outlineDefault: "gray",
});
Typography.loadTypographies({
h1: {
fontSize: 30,
fontWeight: "500",
includeFontPadding: false,
},
h2: { fontSize: 24 },
h3: { fontSize: 20 },
h4: { fontSize: 16 },
bold: { fontWeight: "bold" },
semibold: { fontWeight: "500" },
body: { fontSize: 14 },
emoji: { fontSize: 40 },
globe: { fontSize: 150, includeFontPadding: false },
profile: { fontSize: 30, fontWeight: "bold" },
achievement: { fontSize: 60 },
});