gsantner / markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
https://github.com/gsantner/markor/discussions/2269
Other
3.51k stars 347 forks source link

Markdown: Mermaid chart dark mode? #2335

Open ChungLeeCN opened 3 days ago

ChungLeeCN commented 3 days ago

⚠️ This issue respects the following points: ⚠️

Description

I use the Mermaid syntax to draw flowcharts in a Markdown file, and everything displays correctly in light mode. However, in dark mode, the lines of the flowchart are almost invisible. We need to change the arrows and lines of the Mermaid flowchart to white or another light color for dark mode. dark white

Steps to reproduce

  1. wirte a Mermaid flowchart in dark theme, then you will see the issue.

Information

Android version: 12 Device: Redmi K30 Pro Zoom Edition App Version: v2.12.2 (151)

Source

Google Play

Format / File type

Not specific

Additional info / Log

No response

gsantner commented 3 days ago

Not sure if Mermaid is supposed to be used with/properly supports dark mode on it's own.

Feel free to make adjustments/improvements and make a merge request to get it added.

Generally said the arrows are drawn by Mermaid so not sure if it's the right place to ask at Markor.