feat: tipografia konpontzen du

This commit is contained in:
Aitor Urrutia
2022-01-17 12:51:16 +01:00
parent 7125d44d59
commit 988f909a69
4 changed files with 15 additions and 2 deletions

View File

@@ -44,5 +44,12 @@ module.exports = {
}, },
}, },
}, },
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [`work sans\:500`],
display: 'swap',
},
},
], ],
}; };

View File

@@ -20,6 +20,7 @@
"@types/styled-components": "^5.1.20", "@types/styled-components": "^5.1.20",
"babel-plugin-styled-components": "^2.0.2", "babel-plugin-styled-components": "^2.0.2",
"gatsby": "^4.5.2", "gatsby": "^4.5.2",
"gatsby-plugin-google-fonts": "^1.0.1",
"gatsby-plugin-image": "^2.5.1", "gatsby-plugin-image": "^2.5.1",
"gatsby-plugin-manifest": "^4.5.1", "gatsby-plugin-manifest": "^4.5.1",
"gatsby-plugin-react-helmet": "^5.5.0", "gatsby-plugin-react-helmet": "^5.5.0",

View File

@@ -197,10 +197,10 @@ export const GlobalStyles = createGlobalStyle`
${reboot}; ${reboot};
body { body {
font-family: 'Arial', 'Open Sans', sans-serif; font-family: 'Work Sans', sans-serif;
${font.base()} ${font.base()}
font-weight: 700; font-weight: 500;
background-color: #fd3447; background-color: #fd3447;
color: #fff; color: #fff;

View File

@@ -7381,6 +7381,11 @@ gatsby-page-utils@^2.5.1:
lodash "^4.17.21" lodash "^4.17.21"
micromatch "^4.0.4" micromatch "^4.0.4"
gatsby-plugin-google-fonts@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-fonts/-/gatsby-plugin-google-fonts-1.0.1.tgz#d71054f7bf207b9a8da227380369e18e6f4e0201"
integrity sha512-p1NVkn27GUnDA5qHM+Z4cCcLCJIardzZXMon3640sT4xuL/AZJbsx3HEt2KY/5oZu0UXIkytkxzV2Da4rQeUIg==
gatsby-plugin-image@^2.5.1: gatsby-plugin-image@^2.5.1:
version "2.5.1" version "2.5.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-image/-/gatsby-plugin-image-2.5.1.tgz#6828d0b827f9efc6202a4b53f6802dfe704ffcce" resolved "https://registry.yarnpkg.com/gatsby-plugin-image/-/gatsby-plugin-image-2.5.1.tgz#6828d0b827f9efc6202a4b53f6802dfe704ffcce"