@theme-ui/typography
Utilities for integrating Typography.js themes with Theme UI
Last updated 2 years 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 (3 years ago)
  • 0.17.2-develop.1                                ...           develop (2 years ago)
  • 0.17.4                                ...           latest (a year ago)
  • 0.6.0-alpha.8                                ...           next (6 years ago)

431 Versions

Downloads
Total 288
Today 0
This Week 27
This Month 142
Last Day 1
Last Week 61
Last Month 42

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