diff --git a/gatsby-config.js b/gatsby-config.js index 3174bbf8..027c2f45 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -99,14 +99,8 @@ module.exports = { // https://github.com/andrewbranch/gatsby-remark-vscode resolve: 'gatsby-remark-vscode', options: { - colorTheme: 'Quiet Light', + theme: 'Quiet Light', injectStyles: false, - extensions: [ - { - identifier: 'bungcip.better-toml', - version: '0.3.2' - } - ], languageAliases: { text: 'log' } diff --git a/package.json b/package.json index b7d40e0f..0043d61a 100644 --- a/package.json +++ b/package.json @@ -25,65 +25,65 @@ "@oceanprotocol/art": "^2.2.0", "axios": "^0.19.2", "classnames": "^2.2.6", - "gatsby": "^2.19.9", - "gatsby-image": "^2.2.39", - "gatsby-plugin-catch-links": "^2.1.24", - "gatsby-plugin-google-analytics": "^2.1.34", - "gatsby-plugin-manifest": "^2.2.39", - "gatsby-plugin-offline": "^3.0.32", - "gatsby-plugin-react-helmet": "^3.1.21", - "gatsby-plugin-sass": "^2.1.27", - "gatsby-plugin-sharp": "^2.4.3", - "gatsby-plugin-sitemap": "^2.2.26", + "gatsby": "^2.19.43", + "gatsby-image": "^2.2.43", + "gatsby-plugin-catch-links": "^2.1.27", + "gatsby-plugin-google-analytics": "^2.1.37", + "gatsby-plugin-manifest": "^2.2.47", + "gatsby-plugin-offline": "^3.0.40", + "gatsby-plugin-react-helmet": "^3.1.23", + "gatsby-plugin-sass": "^2.1.30", + "gatsby-plugin-sharp": "^2.4.12", + "gatsby-plugin-sitemap": "^2.2.29", "gatsby-plugin-svgr": "^2.0.2", "gatsby-plugin-webpack-size": "^1.0.0", - "gatsby-remark-autolink-headers": "^2.1.23", + "gatsby-remark-autolink-headers": "^2.1.25", "gatsby-remark-code-titles": "^1.1.0", "gatsby-remark-component": "^1.1.3", - "gatsby-remark-copy-linked-files": "^2.1.36", + "gatsby-remark-copy-linked-files": "^2.1.39", "gatsby-remark-embed-video": "^2.0.1", "gatsby-remark-github": "^2.0.0", - "gatsby-remark-images": "^3.1.42", - "gatsby-remark-responsive-iframe": "^2.2.31", - "gatsby-remark-smartypants": "^2.1.20", - "gatsby-remark-vscode": "^1.4.0", - "gatsby-source-filesystem": "^2.1.46", - "gatsby-source-graphql": "^2.1.32", - "gatsby-transformer-remark": "^2.6.48", - "gatsby-transformer-sharp": "^2.3.13", - "gatsby-transformer-xml": "^2.1.23", - "gatsby-transformer-yaml": "^2.2.23", + "gatsby-remark-images": "^3.1.49", + "gatsby-remark-responsive-iframe": "^2.2.33", + "gatsby-remark-smartypants": "^2.1.22", + "gatsby-remark-vscode": "^2.0.3", + "gatsby-source-filesystem": "^2.1.55", + "gatsby-source-graphql": "^2.1.34", + "gatsby-transformer-remark": "^2.6.58", + "gatsby-transformer-sharp": "^2.3.18", + "gatsby-transformer-xml": "^2.1.25", + "gatsby-transformer-yaml": "^2.2.26", "giphy-js-sdk-core": "^1.0.6", "intersection-observer": "^0.7.0", - "react": "^16.12.0", - "react-dom": "^16.12.0", + "react": "^16.13.0", + "react-dom": "^16.13.0", "react-helmet": "^5.2.1", "react-scrollspy": "^3.4.2", - "rehype-react": "^4.0.1", + "rehype-react": "^5.0.0", "remark": "^11.0.2", "remark-github-plugin": "^1.3.1", "remark-react": "^6.0.0", "shortid": "^2.2.15", - "slugify": "^1.3.6", + "slugify": "^1.4.0", "smoothscroll-polyfill": "^0.4.4", "swagger-client": "^3.10.0" }, "devDependencies": { - "@svgr/webpack": "^5.1.0", + "@svgr/webpack": "^5.2.0", "dotenv": "^8.2.0", "eslint": "^6.8.0", "eslint-config-oceanprotocol": "^1.5.0", "eslint-config-prettier": "^6.10.0", "eslint-plugin-prettier": "^3.1.2", - "markdownlint-cli": "^0.21.0", + "markdownlint-cli": "^0.22.0", "node-sass": "^4.13.1", "npm-run-all": "^4.1.5", "prettier": "^1.19.1", "prettier-stylelint": "^0.4.2", - "stylelint": "^13.0.0", + "stylelint": "^13.2.1", "stylelint-config-bigchaindb": "^1.2.2", "stylelint-config-css-modules": "^2.2.0", - "stylelint-config-standard": "^19.0.0" + "stylelint-config-standard": "^20.0.0" }, "repository": { "type": "git", diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss index b71690c1..dab9bacf 100644 --- a/src/styles/_variables.scss +++ b/src/styles/_variables.scss @@ -21,14 +21,16 @@ $brand-gradient: linear-gradient(to right bottom, $brand-purple, $brand-pink); $body-background: darken($brand-white, 1%); // Fonts -$font-family-base: 'Sharp Sans Medium', -apple-system, BlinkMacSystemFont, - 'Segoe UI', Helvetica, Arial, sans-serif; -$font-family-title: 'Sharp Sans Display', -apple-system, BlinkMacSystemFont, - 'Segoe UI', Helvetica, Arial, sans-serif; -$font-family-button: 'Sharp Sans Bold', -apple-system, BlinkMacSystemFont, - 'Segoe UI', Helvetica, Arial, sans-serif; -$font-family-monospace: 'Fira Code', 'Fira Mono', Menlo, Monaco, Consolas, +// stylelint-disable value-keyword-case +$font-family-base: 'Sharp Sans Medium', -apple-system, blinkmacsystemfont, + 'Segoe UI', helvetica, arial, sans-serif; +$font-family-title: 'Sharp Sans Display', -apple-system, blinkmacsystemfont, + 'Segoe UI', helvetica, arial, sans-serif; +$font-family-button: 'Sharp Sans Bold', -apple-system, blinkmacsystemfont, + 'Segoe UI', helvetica, arial, sans-serif; +$font-family-monospace: 'Fira Code', 'Fira Mono', menlo, monaco, consolas, 'Courier New', monospace; +// stylelint-enable value-keyword-case $font-size-root: 15px; $font-size-base: 1rem; diff --git a/src/templates/Typedoc/Entities.module.scss b/src/templates/Typedoc/Entities.module.scss index a9f58261..4bfbc783 100644 --- a/src/templates/Typedoc/Entities.module.scss +++ b/src/templates/Typedoc/Entities.module.scss @@ -1,7 +1,9 @@ @import 'variables'; .entityName { - composes: pathName from '../Doc.module.scss'; + // stylelint-disable value-keyword-case + composes: pathname from '../Doc.module.scss'; + // stylelint-enable value-keyword-case font-size: $font-size-h2; }