Handle custom colourId for custom widget

Hi,

Would be great if there was a solution to handle custom colourId for custom widgets.
Right now I do it manually

enum ColourIds
{
          backgroundColourId = UviLookAndFeel::MultiSliderOffset,
          sliderColourId,
          textValueBackgroundColourId,
          textValueColourId
};

but this is quite error prone.

Don’t have an out of the box solution to this issue but would like to open the discussion regarding this.

Thanks !