Socket
Book a DemoInstallSign in
Socket

@artsy/next-palette

Package Overview
Dependencies
Maintainers
14
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artsy/next-palette

Easily integrate Artsy's Palette w/ Next.js

latest
npmnpm
Version
1.0.0
Version published
Maintainers
14
Created
Source

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

FAQs

Package last updated on 05 Sep 2020

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