Thanks for firing up this issue. After some investigations, I found that it consists of 2 issues:
The mermaid stylesheet is outdated. Mermaid now embed styles inline when generating svg. This stylesheet should be removed (from our webpack config).
Night mode implementation for mermaid is also outdated. Latest mermaid provides 4 different themes. We should feed in mermaid theme option based on current theme, and then trigger a rerender.
Looks fine in light mode, text unreadable in dark mode.


The text was updated successfully, but these errors were encountered: