marcveens / react-drawio

React component for integrating the Diagrams (draw.io) embed iframe
MIT License
43 stars 8 forks source link

Need support for a 'sketch' theme in the ui urlParameter #13

Closed puru1761 closed 6 months ago

puru1761 commented 6 months ago

Hi,

Thank you for this great package. I was looking over the draw.io themes documentation, and it seems that the 'sketch' theme mentioned there is not supported for this package. The supported themes seem to be 'dark' | 'kenedy' | 'atlas' | 'min'. Would it be possible to add a 'sketch' theme to support this theme from draw.io?

https://www.drawio.com/blog/diagram-editor-theme

Thanks, Puru

marcveens commented 6 months ago

Hi @puru1761, good one! I just published a new version with all supported themes.

https://github.com/marcveens/react-drawio/blob/d82b25bd90eedd07b241e228a7f7bce01819592a/src/types.ts#L34