Skip to content

Exporting PNG or SVG in light mode #23

Closed Answered by choonchernlim
choonchernlim asked this question in Q&A
Discussion options

You must be logged in to vote

I think I got it:

await page.evaluate(() => {
    structurizr.ui.setRenderingMode(structurizr.ui.RENDERING_MODE_LIGHT);
    structurizr.diagram.setDarkMode(structurizr.ui.isDarkMode());
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by choonchernlim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
1 participant
Converted from issue

This discussion was converted from issue #22 on May 17, 2025 15:58.