Possible to disable dark mode in Mermaid diagrams?

Is it possible to have the mermaid diagram ignore Confluence dark mode and always use just the default theme (white background, etc.)?

Not possible ATM, but should not be too hard to implement.
I can’t promise a firm date for it yet, but at some point soon-ish I will have to do some other work in the app, so will give it a crack!

That’d be great, thank you @dhreben !

disable dark mode!!! never!!!

Now that’s out of my system, one approach would be to use classes within your mermaid code to style the diagram as you want, that way it wouldn’t matter if the system is in light or dark mode.

While not solving the issue directly (don’t change based on system mode) it does mean you can get consistency for diagrams.

Hi! Sorry, I have not managed to implement this yet. However, this app is now open-sourced and released on github - GitHub - atlassian-labs/mermaid-diagrams-viewer: A Forge app (for Confluence cloud) that renders mermaid diagrams from code blocks in Confluence pages.

Please feel free to raise issues or contribute there. Side note - to reduce support burden, I will not be monitoring topics about this app here.