mirror of https://github.com/usememos/memos
fix: mermaid diagrams in dark mode (#4289)
* fix #4257 fixed ui for mermaid diagrams in dark mode * fixed linting issues * added dynamic color theme for mermaid diagrams * now mermaid block uses theme according to the system as well when 'follow system' is selected * refactored code for mermaid theme logic * refactored mermaid code to use const instead of function call --------- Co-authored-by: root <root@DESKTOP-G3MCU14>pull/4298/head
parent
d050a6fd46
commit
94517490f5
Loading…
Reference in New Issue