sanity-plugin-color-picker

1.0.3 • Public • Published

Color Picker

Color picker with eyedropper tool input for Sanity that stores a selected color.

Installing

In your Sanity studio folder, run:

sanity install color-picker 

Usage

Use it in your schema types:

// [...]
{
  fields: [
    // [...]
    {
      name: 'color',
      title: 'Color',
      type: 'colorPicker'
    }
  ]
}

Note that the above only works if you import and use the all:part:@sanity/base/schema-type part in your schema.

License

MIT-licensed. See LICENSE.

Readme

Keywords

none

Package Sidebar

Install

npm i sanity-plugin-color-picker

Weekly Downloads

717

Version

1.0.3

License

MIT

Unpacked Size

11.4 kB

Total Files

7

Last publish

Collaborators

  • edolyne