netlify-cms-widget-color

3.0.1 • Public • Published

netlify-cms-widget-color

Remembering all the world's code values for colors is hard. Now you don't have to. Install the color widget so you can make an easy job of things like changing your font color, directly in the editor UI.

Install and Usage

As an npm package:

npm install netlify-cms-widget-color @pake/react-color
import CMS from "netlify-cms";
import * as ColorWidget from "netlify-cms-widget-color";
CMS.registerWidget("color", ColorWidget.Control);

Add to your config.yml:

    fields:
      name: <fieldname>
        label: <fieldlabel>
        widget: color

Example

see public directory

Package Sidebar

Install

npm i netlify-cms-widget-color

Weekly Downloads

7

Version

3.0.1

License

MIT

Unpacked Size

64.3 kB

Total Files

24

Last publish

Collaborators

  • ekoeryanto