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

Add a note on Mermaid diagrams #10

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

isaacfreeman
Copy link
Contributor

I don’t see many themes that style Mermaid diagrams, but they’re built with SVG so they’re accessible in the DOM.

In my own theme I’ve centre-aligned all diagrams, and overridden the pie chart colors to harmonise better. I’m not sure how much more I’ll do, but I found it useful to have some reference diagrams, so they here they are for other theme developers.

I don’t see many themes that style Mermaid diagrams, but they’re built with SVG so they’re accessible in the DOM.

In my own theme I’ve centre-aligned all diagrams, and overridden the pie chart colors to harmonise better. I’m not sure how much more I’ll do, but I found it useful to have some reference diagrams, so they here they are for other theme developers.
@chrisgrieser
Copy link
Member

Thanks for all these contributions :)

@chrisgrieser chrisgrieser merged commit 19399e3 into obsidian-community:main Feb 7, 2024
@isaacfreeman
Copy link
Contributor Author

Thanks for all these contributions :)

No problem. It's mostly notes I'm already making for my own theme, and the small amount of extra time to edit them for others is helping me check my work.

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

Successfully merging this pull request may close these issues.

2 participants