Skip to content

Commit

Permalink
Install @fontsource/source-sans-pro
Browse files Browse the repository at this point in the history
This provides the Source Sans font as part of the app bundle, allowing
us to drop the Google Fonts dependency.
  • Loading branch information
jonathansick committed Apr 30, 2021
1 parent 76e8496 commit 5534db4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

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

14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@
"prepare": "husky install"
},
"babel": {
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
"presets": [
"next/babel"
],
"plugins": [
[
"styled-components",
{
"ssr": true
}
]
]
},
"eslintConfig": {
"extends": [
Expand All @@ -37,6 +46,7 @@
"*.js": "eslint"
},
"dependencies": {
"@fontsource/source-sans-pro": "^4.2.2",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
Expand Down

0 comments on commit 5534db4

Please sign in to comment.