@pmndrs/msdfonts
v1.0.60
Published
base64 msdf fonts distributed as npm package
Readme
msdfonts
base64 msdf fonts distributed as npm packages
usage with R3/uikit
import { inter } from '@pmndrs/msdfonts'
<Container fontFamilies={{ inter }}>{...children}</Container>How to build
First Step
docker build . -t msdfontsdocker run -v ./docker-volume:/data/:rw -e GOOGLE_FONTS_API_KEY='<insert-api-key>' msdfonts
for users on ARM architecture (e.g. Apple M-chips)
docker build . --platform linux/x86_64 -t msdfontsdocker run -v ./docker-volume:/data/:rw -e GOOGLE_FONTS_API_KEY='<insert-api-key>' --platform linux/x86_64 msdfonts
Final Step
Now delete the file in src/index.ts and copy the file docker-volume/index.ts into src/index.ts
