This is a Sanity Studio v3 plugin.
Installation
npm install @headless.build/sanity-color-picker
yarn add @headless.build/sanity-color-picker
pnpm install @headless.build/sanity-color-picker
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {colorPicker} from '@headless.build/sanity-color-picker'
export default defineConfig({
plugins: [colorPicker()],
})
License
MIT © Thomas Cristina de Carvalho
Develop & test
This plugin uses @sanity/plugin-kit
with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio
on how to run this plugin with hotreload in the studio.