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",
"babel-plugin-styled-components": "^2.0.2",
"gatsby": "^4.5.2",
"gatsby-plugin-google-fonts": "^1.0.1",
"gatsby-plugin-image": "^2.5.1",
"gatsby-plugin-manifest": "^4.5.1",
"gatsby-plugin-react-helmet": "^5.5.0",

View File

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