evilz / vscode-reveal

Revealjs vsCode extension
https://marketplace.visualstudio.com/items?itemName=evilz.vscode-reveal
MIT License
452 stars 146 forks source link

Mermaid should respect RevealJS' theme #1193

Open pinage404 opened 1 year ago

pinage404 commented 1 year ago

Current Behavior :

RevealJS' default theme is black which is a dark theme

Mermaid's default theme is default which is a light theme

The result is unreadable

image

Expected Behavior :

RevealJS' default theme is black which is a dark theme

Mermaid's default theme should be black

The result is unreadable

image

Current workaround :

Manually set Mermaid's theme with each graph

%%{init: {'theme':'dark'}}%%
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

Probably related to https://github.com/evilz/vscode-reveal/issues/1033