Visual appearance for labels/other elements

Hi. I build bpm-modeler based on bpmn-js. One of huge chalenge for me is make possible to change font-size, color, bold, italic, underscore each element label on diagram, something like that.
image
My idea is add additional attribute to baseElement like “htmlLabel” and override default Render. Is this right way? Can you give advices or examples?

Thank you very much

bpmn-js offers some customization options out of the box. Have a look at this blog post: Visual Customization Options for bpmn-js | Blog | bpmn.io