In the Task editor customization demo, there is an option in the task editor to change a task's color. That works fine for ordinary tasks, but for milestones, it applies color to the square background, not the diamond shape itself.
(By the way I noticed the example uses the deprecated "tplData" parameter.)
Is there a simple way of applying the color only to the diamond shape itself?