Remove dependency on google fonts

This commit is contained in:
LordMathis 2021-03-12 14:29:57 +01:00
parent e76f29c998
commit 49619a91d0
No known key found for this signature in database
GPG Key ID: 575849FD91CE470C
3 changed files with 21 additions and 6 deletions

View File

@ -1,10 +1,12 @@
{
"name": "gatsby-starter-default",
"name": "namesny.com",
"private": true,
"description": "A simple starter to get up and developing quickly with Gatsby",
"version": "0.1.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"description": "Personal website",
"version": "2.0.0",
"author": "Matus Namesny <matus@namesny.com>",
"dependencies": {
"@fontsource/fira-mono": "^4.2.2",
"@fontsource/open-sans": "^4.2.2",
"gatsby": "^2.24.61",
"gatsby-image": "^2.4.19",
"gatsby-plugin-manifest": "^2.4.30",
@ -25,7 +27,9 @@
"prettier": "2.1.1"
},
"keywords": [
"gatsby"
"gatsby",
"blog",
"portfolio"
],
"license": "0BSD",
"scripts": {

View File

@ -8,7 +8,8 @@ $backgroundDarker: #252627;
$backgroundDark: #292a2d;
//Fonts
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@500&family=Open+Sans&display=swap');
@import "~@fontsource/fira-mono/500.css";
@import "~@fontsource/open-sans/index.css"; // Weight 400.
$fontHeader: 'Fira Mono', monospace;
$fontParagraph: 'Open Sans', sans-serif;

View File

@ -974,6 +974,16 @@
ts-node "^9"
tslib "^2"
"@fontsource/fira-mono@^4.2.2":
version "4.2.2"
resolved "https://registry.yarnpkg.com/@fontsource/fira-mono/-/fira-mono-4.2.2.tgz#ad39a4b5c16877b16a2299795d6de55aaaeca4f1"
integrity sha512-t2WRThg+eLkQNQCtPG2sCCq40lz3xeb7nsL7P8l4+wfSRbdLQXAY5IebMftI2YEZR4MRRhdgrg0p5fi/2yXypA==
"@fontsource/open-sans@^4.2.2":
version "4.2.2"
resolved "https://registry.yarnpkg.com/@fontsource/open-sans/-/open-sans-4.2.2.tgz#59046f772136a44c5999e0189d33c6a26676630c"
integrity sha512-NbsL1a9asJO6N/5kRxYPCy0kNhKMi9T75kl4QfIGtmpd/5IfB+UIAUxd9AICmCLaH4Osc2TImeTJj94xc9MNKg==
"@graphql-tools/batch-execute@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-7.0.0.tgz#e79d11bd5b39f29172f6ec2eafa71103c6a6c85b"