d2-obsidian
d2-obsidian copied to clipboard
[Question] How to set the Theme to dark
Hey there,
i want to set my Themes in Obsidian to dark. Sadly i have not found any setting for this in the Plugin's Settings. Is there a way to override it or to add such an option?
Thanks!
I'm interested in this aswell
At the time being, the only way to set a dark theme (even through the cli) is to set a fallback theme ID as the dark one. Therefore, you can just change the Theme ID
settings in the plugin config to 200
(the only dark theme available to my knowledge according to the doc).
I hoped I helped and didn't make any mistakes 😅.
I am curious if @berniexie or other contributors could weigh in to describe how difficult a change, and if anything would need to occur in D2 proper, for us to be able to have seamless background colors that match our Obsidian Reading view background as per our Obsidian theme.
I guess there is an easy work around for the theme customization problem. I wish the plugin could allows users to specify the theme IDs for light theme and dark theme differently. Then if users select the base color scheme as Adapt to system option, the D2 Diagram can change as well. I think this settings could make the D2 diagram integrate more closely to the Obsidian. 🤩