Skip to content
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

[Question] How to set the Theme to dark #36

Open
hofq opened this issue Jul 12, 2023 · 4 comments
Open

[Question] How to set the Theme to dark #36

hofq opened this issue Jul 12, 2023 · 4 comments

Comments

@hofq
Copy link

hofq commented Jul 12, 2023

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!

@ozoromo
Copy link

ozoromo commented Jul 25, 2023

I'm interested in this aswell

@DarkOnion0
Copy link

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 😅.

@mfiano
Copy link

mfiano commented Nov 12, 2023

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.

@langshangyuan
Copy link

langshangyuan commented Dec 7, 2023

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. 🤩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants