-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requesting Dark Mode #5
Comments
+1 This would also be on top of my list. Also, big thank you from my side |
To get Dark Theme just change the line 20494 in main.js to
done |
@alterdaemon this worked, thanks! |
Thanks to @alterdaemon 's suggestion. It worked. But I'd like to add a point: To let the svg follow theme, additionally we need to focus on the _postMessage({
action: "export",
format: "svg",
embedImages: true,
//add this line
keepTheme: true,
exit: false,
} This let the exportion always follows the display once you save. The plugin actually runs as an embedded instance, so I referenced the doc of diagrams.net: https://www.drawio.com/doc/faq/embed-mode#description-of-the-json-protocol |
If possible, please enable dark UI mode.
Thank you for enabling the use of Diagrams.net/draw.io in Obsidian for us.
The text was updated successfully, but these errors were encountered: