diff --git a/packages/gatsby-theme-apollo-core/package-lock.json b/packages/gatsby-theme-apollo-core/package-lock.json index d3937608..892856f1 100644 --- a/packages/gatsby-theme-apollo-core/package-lock.json +++ b/packages/gatsby-theme-apollo-core/package-lock.json @@ -1,6 +1,6 @@ { - "name": "gatsby-theme-apollo-core", - "version": "3.0.26", + "name": "gatsby-theme-guide-core", + "version": "3.0.32", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -15190,6 +15190,11 @@ "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==", "dev": true }, + "normalize.css": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz", + "integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==" + }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", diff --git a/packages/gatsby-theme-apollo-core/package.json b/packages/gatsby-theme-apollo-core/package.json index 817cc40e..a360c2a5 100644 --- a/packages/gatsby-theme-apollo-core/package.json +++ b/packages/gatsby-theme-apollo-core/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-guide-core", - "version": "3.0.27", + "version": "3.0.32", "main": "index.js", "description": "A theme for The GraphQL Guide (a fork of gatsby-theme-apollo-core)", "license": "MIT", @@ -20,6 +20,7 @@ "gatsby-plugin-svgr": "^2.0.1", "less": "^3.10.1", "lodash": "^4.17.14", + "normalize.css": "^8.0.1", "polished": "^2.3.3", "prop-types": "^15.6.2", "react-helmet": "^5.2.0", diff --git a/packages/gatsby-theme-apollo-core/src/styles.less b/packages/gatsby-theme-apollo-core/src/styles.less index c8288b90..92834728 100644 --- a/packages/gatsby-theme-apollo-core/src/styles.less +++ b/packages/gatsby-theme-apollo-core/src/styles.less @@ -1,12 +1,50 @@ -@import (inline) '~@apollo/space-kit/reset.css'; +@import (inline) "~normalize.css/normalize.css"; +@font-face { + font-family: 'Source Code Pro'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'), + url(https://fonts.gstatic.com/s/sourcecodepro/v11/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevT.ttf) + format('truetype'); +} +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), + url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf) + format('truetype'); +} +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 600; + font-display: block; + src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), + url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf) + format('truetype'); +} + html { + box-sizing: border-box; font-size: 100%; line-height: 1.45; overflow-y: auto; } +*, *:before, *:after { + box-sizing: inherit; +} + +pre, code { + font-family: 'Source Code Pro', monospace; +} + body { + font-family: 'Source Sans Pro', sans-serif; color: @color-text2; }