Color Picker

Max Steitle

Color Picker

Choose from…

  • Block
  • Chrome
  • GitHub
  • Sketch
  • Swatches
  • Twitter

Example

Download here

Overrides

const data = Data({ background: ‘#0055FF’ });

export const getColor: Override = () => {
    return {
        background: data.background,
    };
};

export const setColor: Override = () => {
    return {
        onColorChange(color) {
            data.background = color;
        },
    };
};