diagram color, export follows current theme

This commit is contained in:
Jan Prochazka
2022-01-20 14:08:43 +01:00
parent c0891af5c3
commit 5be368bbf3
8 changed files with 86 additions and 10 deletions

View File

@@ -155,8 +155,8 @@ module.exports = {
},
exportDiagram_meta: true,
async exportDiagram({ filePath, html, css }) {
await fs.writeFile(filePath, getDiagramExport(html, css));
async exportDiagram({ filePath, html, css, themeType, themeClassName }) {
await fs.writeFile(filePath, getDiagramExport(html, css, themeType, themeClassName));
return true;
},
};