Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit 652fbbe

Browse files
authored
feat(fonts): Remove custom fonts from generated app in favor of explicit instructions (#342 by @markrickert)
1 parent 8538440 commit 652fbbe

29 files changed

+128
-79
lines changed

boilerplate/app/components/bullet-item/bullet-item.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from "react"
22
import { View, ViewStyle, ImageStyle, TextStyle } from "react-native"
33
import {Text} from "../text/text"
44
import {Icon} from "../icon/icon"
5-
import { spacing } from "../../theme"
5+
import { spacing, typography } from "../../theme"
66

77
const BULLET_ITEM: ViewStyle = {
88
flexDirection: "row",
@@ -21,7 +21,7 @@ const BULLET: ImageStyle = {
2121
}
2222
const BULLET_TEXT: TextStyle = {
2323
flex: 1,
24-
fontFamily: "Montserrat-Regular",
24+
fontFamily: typography.primary,
2525
color: "#BAB6C8",
2626
fontSize: 15,
2727
lineHeight: 22,

boilerplate/app/components/checkbox/checkbox.story.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ storiesOf("Checkbox", module)
3838
{({ on, toggle }) => (
3939
<View>
4040
<Checkbox
41-
text="We’re an App Design & Development Team. Experts in mobile & web technologies. We create beautiful, functional mobile apps and websites. "
41+
text="We’re an App Design & Development Team. Experts in mobile & web technologies. We create beautiful, functional mobile apps and websites."
4242
value={on}
4343
multiline
4444
onToggle={toggle}

boilerplate/app/screens/welcome-screen/welcome-screen.tsx.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { View, Image, ViewStyle, TextStyle, ImageStyle, SafeAreaView } from "rea
33
import { useNavigation } from "@react-navigation/native"
44
import { observer } from "mobx-react-lite"
55
import { Button, Header, Screen, Text, Wallpaper } from "../../components"
6-
import { color, spacing } from "../../theme"
6+
import { color, spacing, typography } from "../../theme"
77
const bowserLogo = require("./bowser.png")
88

99
const FULL: ViewStyle = { flex: 1 }
@@ -13,7 +13,7 @@ const CONTAINER: ViewStyle = {
1313
}
1414
const TEXT: TextStyle = {
1515
color: color.palette.white,
16-
fontFamily: "Montserrat",
16+
fontFamily: typography.primary,
1717
}
1818
const BOLD: TextStyle = { fontWeight: "bold" }
1919
const HEADER: TextStyle = {
-269 KB
Binary file not shown.
-273 KB
Binary file not shown.
-255 KB
Binary file not shown.
-260 KB
Binary file not shown.
-256 KB
Binary file not shown.
-261 KB
Binary file not shown.
-254 KB
Binary file not shown.

0 commit comments

Comments
 (0)