@theme-ui/typography
Utilities for integrating Typography.js themes with Theme UI
Last updated 7 years ago by jxnblk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @theme-ui/typography 
SYNC missed versions from official npm registry.

@theme-ui/typography

Utilities for integrating Typography.js themes with Theme UI

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>
)

Current Tags

  • 0.15.0-develop.22                                ...           develop (4 years ago)
  • 0.14.7                                ...           latest (4 years ago)
  • 0.6.0-alpha.8                                ...           next (5 years ago)

396 Versions

Downloads
Today 0
This Week 0
This Month 69
Last Day 0
Last Week 69
Last Month 0
Dependencies (3)

Copyright 2013 - present © cnpmjs.org | Home |