Skip to content

Commit

Permalink
change fonts to montserrat
Browse files Browse the repository at this point in the history
  • Loading branch information
tuan2311 committed Aug 13, 2020
1 parent 20f8369 commit f2d94a8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
1 change: 1 addition & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import 'typeface-montserrat';
import './src/index.css';
11 changes: 0 additions & 11 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,6 @@ module.exports = {
component: require.resolve(`./src/layout/Index.tsx`),
},
},
{
resolve: `gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
family: `Lato`,
variants: ['300', '400', `700`, `900`],
},
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"react-helmet": "^6.1.0",
"react-instantsearch-dom": "^6.7.0",
"react-toastify": "^6.0.8",
"typeface-montserrat": "0.0.75",
"yup": "^0.29.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
@tailwind utilities;

body {
font-family: 'Lato', sans-serif;
font-family: 'Montserrat', sans-serif;
}

0 comments on commit f2d94a8

Please sign in to comment.