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

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

Current Tags

  • 0.16.2-scale-tuples.0                                ...           canary (a year ago)
  • 0.17.1-develop.0                                ...           develop (22 days ago)
  • 0.17.1                                ...           latest (22 days ago)
  • 0.6.0-alpha.8                                ...           next (4 years ago)

427 Versions

Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0

© 2010 - cnpmjs.org x YWFE | Home | YWFE