Please implement proper support of mermaid diagram customization.
Usually, you can create mermaid diagrams and override the base theme to customize the look, i.e.:
---
config:
theme: 'base'
themeVariables:
primaryColor: ...
...
---
You can add such theme configuration even in the D360 diagram editor, it reflects the settings in the WYSIWYG, I can even use the download option and get the customized diagram.
However, on the live site the diagram is rendered using the default look.