$ npm install theme-ui-typography
Utilities for integrating Typography.js themes with Theme UI
import React from 'react'
import { ThemeProvider } from 'theme-ui'
import { toTheme } from 'theme-ui-typography'
import wordpress2016 from 'typography-theme-wordpress-2016'
const theme = toTheme(wordpress2016)
export default props =>
<ThemeProvider theme={theme}>
{props.children}
</ThemeProvider>
© 2010 - cnpmjs.org x YWFE | Home | YWFE