gatsby-plugin-webfonts
gatsby-plugin-webfonts copied to clipboard
feat: add support for self-hosted fonts
This PR adds a basic support for self-hosted fonts.
TODO:
- [x] Make sure the API has enough options
- [x] Add example to the documentation
- [ ] Add tests
Fixes https://github.com/hupe1980/gatsby-plugin-webfonts/issues/5
@hupe1980 could you take look at this and give your feedback on it?
@hupe1980 I just added a support of custom CSS properties to allow users customize them to their needs instead of hardcoding just a few. Now anything other than family
and urls
will be send through postcss
and added inside the @font-face
at-rule. What do you think?
Can we get a status update on this PR? Thnx
@hupe1980 can we help you? I'd love to see this feature added to plugin-webfonts.
I can offer coding support, rubber ducking, cheering you up in a video call and sending some bavarian beer 🙃
(I do maintain multiple Gatsby plugins, so I guess I could be a helpful hand)
@axe312ger Help would be great!
You are welcome to take over the pull request. @visualfanatic currently seems to have no more time.
I'll add it to the "things I might hack on Christmas" list 🙃
@hupe1980 can you maybe assign me? Helps me not forgetting about it :)
@axe312ger I have assigned you. Thx for your support
@axe312ger Any updates on this?
@hupe1980 busy with earning money, so, no progress yet. Still wanna do it. If a client needs static font files, I might be able to do it within a project. Can't tell yet :)
If anybody else wanna code it, feel free to do it! I will put a note into this PR as soon I start working on it!
Any update on this? Would be awesome to have this feature 🙂
I won't find time soon. Anybody else feel tree to take this over. Would be a real great new feature for this plugin!
Alternative: Make me find time by paying me for this feature ;)
I won't find time soon. Anybody else feel tree to take this over. Would be a real great new feature for this plugin!
Alternative: Make me find time by paying me for this feature ;)
I can't pay you but I am going to have a crack at this myself as gatsby-plugin-web-font-loader
is deprecated and I need a good alternative that doesn't just do Google fonts 😅