KyleAMathews/typography.js

Support for font files included in local project

aschrijver opened this issue · 1 comments

I would like to create a site where Privacy Badger say "No trackers, Hurray for privacy" and thus I don't want to load them from Google. Still want to use the themes though.

Would be great if there was a way to specify a local directory location, and load the Google (or other) fonts from there. This in a React project, so probably needs changes in packages/react-typography/src/GoogleFont.js

I found these issues to be related: #79 and #77 (comment)

Not sure if this is alrready supported somehow.

I found your ( @KyleAMathews ) excellent typefaces project, and a way to override remote font loading (#147 )