Skip to content

Commit

Permalink
#155 | Discard unused google fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Dec 3, 2024
1 parent 6fa414d commit 949b68e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ module.exports = {
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`,
omitGoogleFont: true
},
},
{
Expand Down
13 changes: 1 addition & 12 deletions src/utils/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,8 @@ import Typography from "typography"
const typography = new Typography({
baseFontSize: "14px",
baseLineHeight: 1.666,
googleFonts: [
{
name: 'Muli',
styles: [
'900',
'900i',
'400',
'200',
]
}
],
googleFonts: [],
headerFontFamily: [
"Muli",
"Helvetica Neue",
"Segoe UI",
"Helvetica",
Expand Down

0 comments on commit 949b68e

Please sign in to comment.