Skip to content

Mermaid diagrams don't play nice with dark interface themes #2215

@moritzreiter

Description

@moritzreiter

Mermaid support introduced with #2173 is absolutely awesome! 👏👍

There's just a small problem with readability of texts in the diagrams when using one of the dark interface themes:

Current behavior

Some text in Mermaid diagrams in the preview panel is not readable when using one of the dark interface themes:

screen shot 2018-07-19 at 11 39 43

Expected behavior

All text in Mermaid diagrams should be readable when using one of the dark interface themes, as it is the case for light interface themes:

screen shot 2018-07-19 at 11 40 15

Steps to reproduce

  1. Set the interface theme to a dark theme (the screenshot shows Solarized Dark, but it's the same with the two other dark interface themes)
  2. Create a note with a Mermaid diagram
  3. Open the preview

Environment

  • Version : 0.11.8
  • OS Version and name : macOS High Sierra 10.13.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions