PNG export when using Dark them behaves weird
See original GitHub issueProblem
Recently, I was working on a presentation that had a dark background. Naturally, that meant that all of the graphics and text on it, should be white. So, in order to see the text that I was writing I changed the background of my draw.io to Dark.
However, when exporting as PNG I noticed something strange. On the exported picture the color of the text and of the outline of other graphics (arrows, rectangles, etc.) were black (whilst white in draw.io), while the fill color of the graphics was the same as seen in draw.io.
Is this intentional? If so, I find it weird, because it means I can’t export white stuff, while working in a dark background.
Steps to reproduce:
- Open draw.io
- Extras -> Theme -> Dark
- Restart the program, so the change takes effect
- Open this file: bug.drawio.zip (It has to be
.zip
, because GitHub does not support.drawio
attachments) - File -> Export as… -> PNG (Transparent background should be selected)
Actual result
Expected result
(not visible here, because it’s all white, has to be downloaded)
I am using desktop version of draw.io for macOS
Workaround
Change the theme to white, export your work and then change back to dark theme if you want to use that.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
The FAQ isn’t written specifically for you, in case that’s what you thought.
Since 13.1.4, the export dialog has a dark mode switch to fix this.