@theme-ui/typography
v0.17.1
Published
Utilities for integrating Typography.js themes with Theme UI
Downloads
12,125
Readme
@theme-ui/typography
Utilities for integrating Typography.js themes with Theme UI
import { ThemeUIProvider } from 'theme-ui'
import { toTheme } from '@theme-ui/typography'
import wordpress2016 from 'typography-theme-wordpress-2016'
const theme = toTheme(wordpress2016)
export default (props) => (
<ThemeUIProvider theme={theme}>{props.children}</ThemeUIProvider>
)