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

A Display Bug for Mermaid under Light Theme #3

Open
loveAvocado opened this issue Jan 5, 2023 · 3 comments
Open

A Display Bug for Mermaid under Light Theme #3

loveAvocado opened this issue Jan 5, 2023 · 3 comments

Comments

@loveAvocado
Copy link

Dark Graphite Pie theme for obsidian is really cool, but it seems there's something wrong with mermaid under light theme, as my attachment shows, the text part and its background are the same color.
And it's ok under dark theme, with white text and black box.

Fig1. Only if i click on my texts, can i see it.
Fig2 and Fig3 is a comparison of mermaid in dark and light theme.
Screenshot 2023-01-05 at 13 28 03

Thanks a lot!

@ryjjin
Copy link
Owner

ryjjin commented Jan 5, 2023

Oh, sorry, I just not test mermaid diagrams because forget about this feature :) I will try to fix it in two or three days

@loveAvocado
Copy link
Author

Thanks!

@ryjjin
Copy link
Owner

ryjjin commented Jan 9, 2023

@loveAvocado Hey! Change the font color in the mermaid to white.
I could not find a subtle solution to this problem, so I added one global setting. Please check if your display is broken anywhere else? (especially true for third-party plugins, I only have kanban and nothing seems to be broken in it)

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

2 participants