Commit 48b1f1c
committed
Auto merge of #770 - detrumi:mermaid-dark-theme-fix, r=jackh726
Detect dark theme for mermaid diagrams
Fixes #761 for the case where you've set your theme beforehand.
Changing the theme doesn't change the diagrams until you refresh, I tried adding an event listener to the theme switch but `mermaid.initialize()` doesn't update the diagrams when called twice.1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments