You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

theme-ui-typography

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theme-ui-typography

Utilities for integrating Typography.js themes with Theme UI

0.1.7
latest
npmnpm
Version published
Weekly downloads
154
19.38%
Maintainers
1
Weekly downloads
 
Created
Source

theme-ui-typography

Utilities for integrating Typography.js themes with Theme UI

import React from 'react'
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>
)

FAQs

Package last updated on 21 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts