-
-
Notifications
You must be signed in to change notification settings - Fork 970
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Title: PNG export from light theme always appears as dark theme (Gantt chart)
Description:
When using Mermaid Live Editor in light / default theme, everything looks correct in the editor preview. However, when exporting a Gantt chart to PNG via "Download PNG", the output image is rendered in dark theme (dark background, light text), ignoring the selected light theme or any explicit theme override.
Steps to reproduce:
- Open Mermaid Live Editor (e.g. https://mermaid-js.github.io/mermaid-live-editor/)
- Select light/default theme
- Paste a Gantt chart mermaid snippet, for example:
gantt
title A Gantt Diagram
dateFormat YYYY-MM-DD
section Section
A task :a1, 2014-01-01, 30d
Another task :after a1 , 20d
section Another
Task in sec :2014-01-12 , 12d
another task : 24d
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working