You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ⚠️ Please, do not modify the `font-family` value because the `<Text>` component is using the different `fontFamily`name for different weight variant
138
+
> You realized the sample above is not using `font-weight` and `font-style` attribute, because the `Text` component is using the PostScript name to make it consistent on cross platforms. See [recommendation for font file naming](https://docs.expo.dev/develop/user-interface/fonts/#how-to-determine-which-font-family-name-to-use)
157
139
158
140
Then, we have to include the CSS in your project with two ways. Choose one of following ways
159
141
160
-
### External Resource Link Element
142
+
### - External Resource Link Element
161
143
Traditionally, you can include it to your web with the [External Resource Link Element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/link) or you may know it as `<link>` element in HTML
162
144
163
145
```html
@@ -170,7 +152,7 @@ Traditionally, you can include it to your web with the [External Resource Link E
170
152
```
171
153
> In [Expo](https://docs.expo.dev/workflow/web) with Expo Router, you can include the <link> element in your [Root HTML](https://docs.expo.dev/router/web/static-rendering/#root-html) file
172
154
173
-
### Import the CSS from JavaScript Entry
155
+
### - Import the CSS from JavaScript Entry
174
156
If your project can support importing CSS. Import the CSS globally. Likely, it's in the root layout of your React app. It should've been applied to the entire page.
0 commit comments