kirby-color icon indicating copy to clipboard operation
kirby-color copied to clipboard

Display options

Open nilshoerrmann opened this issue 6 years ago • 1 comments

Thanks for this helpful plugin.

In order to handle different use cases, it would be nice if the field offered settings for the UI components shown in the color picker. I'm not sure how flexible the underlying Vue component is, but I'm thinking about something like this:

color:
  label: Color
  type: color
  components: 
    - saturation: true
    - hue: false
    - input: false
    - presets: true
  presets:
    - "#fff"

This way, it would be possible to create a color picker with presets only or one that only offers the hex, rgb and hsa inputs.

nilshoerrmann avatar Sep 24 '18 07:09 nilshoerrmann

I’d like to express my interest in such a feature, too. In my case I’d like to have presets only, not the full blown color picker.

VIPStephan avatar Oct 16 '19 20:10 VIPStephan