Would be nice to be able to allow selection of color palettes or other options with visual feedback.
A color palette could be defined as follows:
{
id: 'palette',
name: 'Palette',
type: 'select',
default: '',
options: [
['ff0000', '00ff00'],
['0000ff', '00ffff'],
]
}
Or as a palette type with more complex options:
{
id: 'palette',
name: 'Palette',
type: 'palette',
default: 'redGreen',
options: [
{ id: 'redGreen', name: 'Red / Green', palette: ['ff0000', '00ff00'] },
{ id: 'blueCyan', name: 'Blue / Cyan', palette: ['0000ff', '00ffff'] },
]
}
Example rendering from QQL:

May also be nice to have a selection with custom rendering. Maybe simply allowing selection given images:
{
id: 'shape',
name: 'shape',
type: '',
default: 'circle',
options: [
{ id: 'circle', name: 'Circle', url: '/icon/circle.svg' },
{ id: 'square': name: 'Square', url: '/icon/square.svg' },
{ id: 'triangle': name: 'Triangle', url: '/icon/triangle.svg' },
]
}
Example from QQL:
