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

@opensea/next-themes

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opensea/next-themes

ui-kit + next-themes integration

1.0.18
latest
npmnpm
Version published
Maintainers
0
Created
Source

@opensea/next-themes

npm version

@opensea/next-themes provides a seamless integration of @opensea/ui-kit into a NextJS based project.

Getting started

Install

pnpm add @opensea/next-themes

Usage

import { ThemeProvider, ThemeVariant } from "@opensea/next-themes"

type Props = {
    theme?: ThemeVariant // you might need this if you want to override theme in tests/storybook
    children: React.ReactNode
}

const AppProviders = ({ theme }: Props) => {
  return <ThemeProvider theme={theme}>{children}</ThemeProvider>
}

FAQs

Package last updated on 10 Dec 2024

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