diff --git a/.gitignore b/.gitignore index ed72704..7d16503 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ public .gatsby-context.js .DS_Store +.intermediate-representation/ diff --git a/components/ReadNext.js b/components/ReadNext.js index 6e60ba3..e7b05a4 100644 --- a/components/ReadNext.js +++ b/components/ReadNext.js @@ -3,7 +3,7 @@ import { Link } from 'react-router' import { prefixLink } from 'gatsby-helpers' import { prune, include as includes } from 'underscore.string' import find from 'lodash/find' -import { rhythm, fontSizeToMS } from 'utils/typography' +import { rhythm, scale } from 'utils/typography' class ReadNext extends React.Component { render () { @@ -29,9 +29,8 @@ class ReadNext extends React.Component {
diff --git a/package.json b/package.json index 62bd64e..cf5e35f 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "moment": "^2.14.1", "react-helmet": "^3.1.0", "react-responsive-grid": "^0.3.3", - "react-typography": "^0.12.0", + "react-typography": "^0.14.0", "safe-access": "^0.1.0", - "typography": "^0.13.0", - "typography-theme-wordpress-2016": "^0.13.0", + "typography": "^0.14.0", + "typography-theme-wordpress-2016": "^0.14.0", "underscore.string": "^3.2.3" }, "devDependencies": { diff --git a/pages/_template.js b/pages/_template.js index 43c459b..43b8878 100644 --- a/pages/_template.js +++ b/pages/_template.js @@ -2,7 +2,7 @@ import React from 'react' import { Link } from 'react-router' import { Container } from 'react-responsive-grid' import { prefixLink } from 'gatsby-helpers' -import { rhythm, adjustFontSizeToMSValue } from 'utils/typography' +import { rhythm, scale } from 'utils/typography' import { config } from 'config' class Template extends React.Component { @@ -13,7 +13,7 @@ class Template extends React.Component { header = (