Comments (2)
Hi Renato,
thanks for reaching out. I see the issue, but I'm afraid that the only way of loading the font in a way you described is to rename the font family to MyCustomFontName-Bold
, etc. This should work in theory.
However, I am planning a big update for the plugin in the future and I'm actively looking for the features to include in the future releases. So I'll be adding this one to the list.
Thanks and keep me posted if you've found another way to tackle this issue with the plugin
from gatsby-omni-font-loader.
Hi Adrian,
thank you for the quick response.
This sounds like an approach that might be good enough for the time being! I will report here in the comments on how it behaves. Thanks again! 🙏
from gatsby-omni-font-loader.
Related Issues (19)
- Errors when leaving out settigs HOT 3
- gatsby-browser.js causes issue in mono-repo HOT 2
- Add classes to HTML instead of the BODY HOT 3
- Preloading doesn't work when deploying with netlify HOT 3
- Module not found: Error: Can't resolve './defaults' in '.../node_modules/gatsby-omni-font-loader/consts' HOT 4
- Setting MIME type? HOT 2
- More complex example HOT 1
- Error: Failed to decode downloaded font: <URL> HOT 6
- does it support font subsets (greek, latin-ext, ...)?
- Module parse failed - potential Webpack config conflict HOT 10
- Integration with npm-typeface fonts
- Text flickers before switch to icon with Material Icons font HOT 10
- FOUT doesn't support for different font-weight HOT 1
- Feature Request: Remove usage of `react-helmet` HOT 7
- Only load fonts that are used in a page
- Crossorigin value automatically assigned and the value is invalid.
- tag[primaryAttributeKey].toLowerCase is not a function HOT 9
- Error: Unable to find plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-omni-font-loader.