diff --git a/gatsby-browser.js b/gatsby-browser.js index b1e5c31..01e21b7 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -1,7 +1 @@ -/** - * Implement Gatsby's Browser APIs in this file. - * - * See: https://www.gatsbyjs.org/docs/browser-apis/ - */ - -// You can delete this file if you're not using it +import '@kichiyaki/roboto'; diff --git a/gatsby-config.js b/gatsby-config.js index 42160dc..2a98cc3 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -34,7 +34,12 @@ module.exports = { icon: `src/images/icon.svg`, // This path is relative to the root of the site. }, }, - `gatsby-theme-material-ui`, + { + resolve: `gatsby-theme-material-ui`, + options: { + webFontsConfig: null, + }, + }, `gatsby-plugin-sitemap`, { resolve: 'gatsby-plugin-robots-txt', diff --git a/package.json b/package.json index 0f630b1..62d7047 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "version": "0.1.0", "author": "Dawid WysokiƄski ", "dependencies": { + "@kichiyaki/roboto": "^1.0.0", "@material-ui/core": "^4.10.2", "@material-ui/icons": "^4.9.1", "@material-ui/styles": "^4.10.0", diff --git a/yarn.lock b/yarn.lock index 2e0cf52..2637cab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1594,6 +1594,11 @@ core-js "^3.4.1" regenerator-runtime "^0.13.3" +"@kichiyaki/roboto@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@kichiyaki/roboto/-/roboto-1.0.0.tgz#6f5dfb40e2423940588946c952490b123ca8088b" + integrity sha512-4pfkzXOqtSWZvvkA6jI30h+y2vDOvhEavYo4O32C98jPk2zqIiFwd4SwiiFe9xzjQsPURqO89rUTZlChU255bQ== + "@material-ui/core@^4.10.2": version "4.10.2" resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-4.10.2.tgz#0ef78572132fcef1a25f6969bce0d34652d42e31"