Update packages + update Typography setup

This commit is contained in:
Kyle Mathews 2015-11-21 16:59:04 -08:00
parent 950e38687e
commit 1043f18f0c
6 changed files with 38 additions and 22 deletions

View file

@ -1,11 +1,8 @@
import React from 'react';
import { RouteHandler, Link } from 'react-router';
import { Container, Grid, Breakpoint, Span } from 'react-responsive-grid';
import Typography from 'typography';
import { link } from 'gatsby-helpers';
let typography = new Typography();
let rhythm = typography.rhythm, fontSizeToMS = typography.fontSizeToMS;
import { rhythm, fontSizeToMS } from 'utils/typography'
import '../css/styles.css';
@ -55,7 +52,7 @@ export default class extends React.Component {
}}
>
{header}
<RouteHandler typography={typography} {...this.props}/>
<RouteHandler {...this.props}/>
</Container>
);
}