Well, here’s a super-annoying bug in plugin builder:
Though you can create a field with a color selector that is marked Optional, the color picker in the plugin builder will not allow you to select a null (empty) color:
It always insists on dropping a hex value in there. (This is different from the color picker in the editor/element interface, which DOES allow selection of null.)
So this makes it impossible to handle “optional” colors in an efficient way. Of course, what you’d want to do is have those fields null by default and then use the value if one is present, like:
!properties.hover_text_color ? instance.data.hover_text_color = 'inherit' : instance.data.hover_text_color = properties.hover_text_color
