This is a fork of Sanity Color List that works in v3 Sanity Studio.
This is a Sanity Studio v3 plugin.
npm install "https://github.com/jcontonio/sanity-color-list"
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {colorList} from 'sanity-color-list'
export default defineConfig({
//...
plugins: [colorList()],
})
Run npm run link-watch
to get the yalc command to run inside of your studio development.
MIT © Jay Contonio
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.