@theme-ui/typography
    TypeScript icon, indicating that this package has built-in type declarations

    0.12.1 • Public • Published

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

    Install

    npm i @theme-ui/typography

    DownloadsWeekly Downloads

    13,104

    Version

    0.12.1

    License

    MIT

    Unpacked Size

    38.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • jxnblk
    • johno
    • hasparus
    • lachlanjc