ThemeProvider (#677)

closes #655
This commit is contained in:
Tom Moor
2018-06-09 19:10:30 -07:00
committed by GitHub
parent 0942deec38
commit 434129a434
50 changed files with 277 additions and 324 deletions

View File

@ -1,7 +1,7 @@
// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import { fonts } from '../../../shared/styles/constants';
import theme from '../../../shared/styles/theme';
type Props = {
children: React.Node,
@ -19,7 +19,7 @@ export default (props: Props) => (
export const baseStyles = `
#__bodyTable__ {
font-family: ${fonts.regular};
font-family: ${theme.fontFamily};
font-size: 16px;
line-height: 1.5;
}