diff --git a/package.json b/package.json index c998b39..a81d51b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "react-addons-pure-render-mixin": "^15.4.0", "react-collapse": "^2.3.3", "react-color": "^2.10.0", - "react-colorpickr": "^4.3.0", "react-dom": "^15.4.0", "react-file-reader-input": "^1.1.0", "react-height": "^2.1.1", diff --git a/src/fields/color.jsx b/src/fields/color.jsx index 77deaa8..ffea3aa 100644 --- a/src/fields/color.jsx +++ b/src/fields/color.jsx @@ -1,6 +1,6 @@ import React from 'react' +import Color from 'color' import inputStyle from './input.js' -import { getColor } from 'react-colorpickr/dist/colorfunc' import ChromePicker from 'react-color/lib/components/chrome/Chrome' function formatColor(color) { @@ -35,7 +35,7 @@ class ColorField extends React.Component { left: 287 }}> this.props.onChange(formatColor(c))} />