
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
gatsby-plugin-google-fonts
Advanced tools
yarn add gatsby-plugin-google-fonts
// or
npm install gatsby-plugin-google-fonts --save
Add some fonts to your gatsby-config.js
:
module.exports = {
siteMetadata: {
title: `I like Google fonts`
},
plugins: [
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`limelight`,
`source sans pro\:300,400,400i,700` // you can also specify font weights and styles
],
display: 'swap'
}
}
]
}
FAQs
Bring Google Fonts to Gatsby
The npm package gatsby-plugin-google-fonts receives a total of 8,492 weekly downloads. As such, gatsby-plugin-google-fonts popularity was classified as popular.
We found that gatsby-plugin-google-fonts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.