mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
72k stars 6.53k forks source link

The lineColor is not controlled by darkMode option provided by Mermaid #2153

Open packetmania opened 3 years ago

packetmania commented 3 years ago

Describe the bug In the dark mode on Macbook Pro, the lines are still with dark color, which makes them invisible.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior In the dark mode, the lines can go to light color automatically.

Screenshots If applicable, add screenshots to help explain your problem.

Code Sample If applicable, add the code sample or a link to the live editor.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

DaweiX commented 2 years ago

The same issue exists on Windows.