@artsy/next-palette
Easily integrate Artsy's Palette w/ Next.js
Last updated 3 months ago by artsy-engineering .
MIT · Original npm · Tarball · package.json
$ cnpm install @artsy/next-palette 
SYNC missed versions from official npm registry.

@artsy/next-palette

This package helps easily integrate [Artsy]'s Palette with Next.js.

Installation

yarn add @artsy/next-palette

Usage

Create a _document.tsx or _document.jsx in the root of your pages directory. Add the following code:

export { Document as default } from "@artsy/next-palette";

Next, create an _app.tsx or _app.jsx (unless you already have one), and wrap its contents in Palette's Theme component.

import { Theme } from "@artsy/palette";

export default function App({ Component, pageProps }) {
  return (
    <Theme>
      <Component {...pageProps}/>
    </Theme>
  )
}

Current Tags

  • 0.0.2-canary.2.16.0                                ...           canary (3 months ago)
  • 0.3.0                                ...           latest (3 months ago)

7 Versions

  • 0.3.0                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
  • 0.0.2-canary.2.16.0                                ...           3 months ago
  • 0.0.2-canary.2.14.0                                ...           3 months ago
  • 0.0.2-canary.1.11.0                                ...           3 months ago
  • 0.0.2-canary.1.10.0                                ...           3 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |