1.0.3 • Published 3 years ago

sanity-plugin-color-picker v1.0.3

Weekly downloads
34
License
MIT
Repository
github
Last release
3 years ago

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.