@artsy/next-palette
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @artsy/next-palette

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

9.58 kB

Total Files

13

Last publish

Collaborators

  • joeyaghion
  • artsy-engineering
  • damassi
  • anandaroop
  • mzikherman
  • dblandin