Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added example of adding custom font to mobile and web #1

Merged
merged 3 commits into from
Aug 1, 2021

Conversation

jkoutavas
Copy link
Owner

Going futher beyond Aryan's article, I applied the steps defined in the article Add Custom Fonts in React Native 0.63 for iOS and android to add Google's Nova Script font to appear on iOS and Android.

Then following Setup browser compatibility for a project that uses React Native CSS modules I added support for the Nova Script custom font to appear on web. See this commit for the delta.

I threw in a display of the built-in font 'Typewriter', for good measure. You can see both fonts displayed here:

image

@jkoutavas jkoutavas merged commit cd9e01c into main Aug 1, 2021
@jkoutavas jkoutavas deleted the jay/cssfont branch August 1, 2021 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant