TimOetting/kirby-color

Display options

Opened this issue · 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.

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.