Mermaid-Chart/vscode-mermaid-preview

How to apply the Mermaid bundled netural theme?

Closed this issue · 3 comments

Mermaid Preview 0.12.0

How to apply the natural theme?

This is what I've tried, but it doesn't work

{
    "mermaid": {
        "theme": "neutral",
        "themeCSS": ""
    }
}

image

Use this for now:

{
  "mermaid": {
    "theme": null,
    "themeCSS": "the content of the neutral theme from Mermaid",
  }
}

Would it be useful to provide a configuration flag for the light theme to choose between forest and neutral? Personally, I prefer forest but that seems to not suit everybody ;)

I guess it‘s better to provide a list of available themes.

Sent with GitHawk

Available in 1.1.1.