Skip to content

Commit 3d0c6c0

Browse files
author
ikethirdweb
committed
Merge branch 'main' into ike/jwt
2 parents ec1fe14 + 7080ff2 commit 3d0c6c0

File tree

9 files changed

+28
-16
lines changed

9 files changed

+28
-16
lines changed

packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const ConnectAppField = () => {
134134
numberOfLines: 1,
135135
style: {
136136
color: theme.colors.textPrimary,
137-
// fontFamily: theme.textVariants.defaults.fontFamily,
137+
fontFamily: theme.textVariants.defaults.fontFamily,
138138
},
139139
}}
140140
containerProps={{

packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const LocalWalletImportModal = ({
211211
onChangeText: onPrivateKeyEntered,
212212
style: {
213213
color: theme.colors.textPrimary,
214-
// fontFamily: theme.textVariants.defaults.fontFamily,
214+
fontFamily: theme.textVariants.defaults.fontFamily,
215215
},
216216
}}
217217
containerProps={{ pl: "xxs" }}

packages/react-native/src/evm/components/PasswordInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const PasswordInput = ({
3131
style={{
3232
...styles.textInput,
3333
color: theme.colors.textPrimary,
34-
// fontFamily: theme.textVariants.defaults.fontFamily,
34+
fontFamily: theme.textVariants.defaults.fontFamily,
3535
}}
3636
secureTextEntry={!showPassword}
3737
textContentType="none"

packages/react-native/src/evm/components/SendFunds/SendButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const SendFundsForm = ({
289289
onChangeText={setReceiverAddress}
290290
style={{
291291
color: theme.colors.textPrimary,
292-
// fontFamily: theme.textVariants.defaults.fontFamily,
292+
fontFamily: theme.textVariants.defaults.fontFamily,
293293
textAlign: "left",
294294
flex: 1,
295295
height: 40,
@@ -323,7 +323,7 @@ const SendFundsForm = ({
323323
clearTextOnFocus={false}
324324
style={{
325325
color: theme.colors.textPrimary,
326-
// fontFamily: theme.textVariants.defaults.fontFamily,
326+
fontFamily: theme.textVariants.defaults.fontFamily,
327327
textAlign: "left",
328328
flex: 1,
329329
height: 40,

packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export function TokenSelector(props: {
141141
onChangeText={setInput}
142142
style={{
143143
color: theme.colors.textPrimary,
144-
// fontFamily: theme.textVariants.defaults.fontFamily,
144+
fontFamily: theme.textVariants.defaults.fontFamily,
145145
textAlign: "left",
146146
flex: 1,
147147
height: 40,

packages/react-native/src/evm/styles/textVariants.ts

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,84 @@
1+
// import { Platform } from "react-native";
2+
13
export const textVariants = {
2-
// defaults: {
3-
// fontFamily: "ShopifySans", //Platform.OS === "ios" ? "San Francisco" : "Roboto",
4-
// fontSize: 24,
5-
// fontWeight: "700",
6-
// lineHeight: 32,
7-
// color: "textPrimary",
8-
// },
4+
defaults: {
5+
fontFamily: undefined as string | undefined,
6+
fontSize: 24,
7+
fontWeight: "700",
8+
lineHeight: 32,
9+
color: "textPrimary",
10+
},
911
header: {
12+
fontFamily: undefined as string | undefined,
1013
fontSize: 24,
1114
fontWeight: "600",
1215
lineHeight: 32,
1316
color: "textPrimary",
1417
},
1518
headerBold: {
19+
fontFamily: undefined as string | undefined,
1620
fontSize: 24,
1721
fontWeight: "700",
1822
lineHeight: 32,
1923
color: "textPrimary",
2024
},
2125
subHeader: {
26+
fontFamily: undefined as string | undefined,
2227
fontSize: 16,
2328
fontWeight: "500",
2429
lineHeight: 24,
2530
color: "textSecondary",
2631
},
2732
link: {
33+
fontFamily: undefined as string | undefined,
2834
fontWeight: "500",
2935
fontSize: 14,
3036
lineHeight: 24,
3137
color: "linkPrimary",
3238
letterSpacing: -0.02,
3339
},
3440
bodyLarge: {
41+
fontFamily: undefined as string | undefined,
3542
color: "textPrimary",
3643
textAlign: "center",
3744
fontWeight: "600",
3845
fontSize: 16,
3946
lineHeight: 24,
4047
},
4148
bodyLargeBold: {
49+
fontFamily: undefined as string | undefined,
4250
color: "textPrimary",
4351
textAlign: "center",
4452
fontWeight: "700",
4553
fontSize: 16,
4654
lineHeight: 24,
4755
},
4856
bodySmall: {
57+
fontFamily: undefined as string | undefined,
4958
color: "textPrimary",
5059
textAlign: "center",
5160
fontWeight: "600",
5261
fontSize: 14,
5362
lineHeight: 16,
5463
},
5564
bodySmallBold: {
65+
fontFamily: undefined as string | undefined,
5666
color: "textPrimary",
5767
textAlign: "center",
5868
fontWeight: "700",
5969
fontSize: 14,
6070
lineHeight: 16,
6171
},
6272
bodySmallSecondary: {
73+
fontFamily: undefined as string | undefined,
6374
color: "textSecondary",
6475
textAlign: "left",
6576
fontWeight: "600",
6677
fontSize: 14,
6778
lineHeight: 16,
6879
},
6980
error: {
81+
fontFamily: undefined as string | undefined,
7082
color: "error",
7183
fontWeight: "500",
7284
fontSize: 12,

packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export const EmailSelectionUI: React.FC<
143143
style: {
144144
fontSize: 14,
145145
color: theme.colors.textPrimary,
146-
// fontFamily: theme.textVariants.defaults.fontFamily,
146+
fontFamily: theme.textVariants.defaults.fontFamily,
147147
lineHeight: 16,
148148
padding: 0,
149149
flex: 1,

packages/react-native/src/evm/wallets/wallets/magic-link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const MagicSelectionUI: React.FC<SelectUIProps<MagicLink>> = (props) => {
7777
style: {
7878
fontSize: 14,
7979
color: theme.colors.textPrimary,
80-
// fontFamily: theme.textVariants.defaults.fontFamily,
80+
fontFamily: theme.textVariants.defaults.fontFamily,
8181
lineHeight: 16,
8282
padding: 0,
8383
},

packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export function WalletConnectUI({
198198
style={{
199199
...styles.textInput,
200200
color: theme.colors.textSecondary,
201-
// fontFamily: theme.textVariants.defaults.fontFamily,
201+
fontFamily: theme.textVariants.defaults.fontFamily,
202202
}}
203203
/>
204204
</Box>

0 commit comments

Comments
 (0)