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

Suggestion: Option to set background color of preview window #111

Open
Tracked by #112
basvdijk opened this issue Jul 14, 2022 · 1 comment
Open
Tracked by #112

Suggestion: Option to set background color of preview window #111

basvdijk opened this issue Jul 14, 2022 · 1 comment

Comments

@basvdijk
Copy link

Currently I am using the dark theme in vscode. However the transparent SVG images make it hard to read the text of the diagram on a dark background.

It would be nice if there is a setting where you can set the background window background color to white.

I can imagine one says: Then just use another theme which looks nice on a dark background. However generate documentation with a light background. Therefore it would to use the same theme when previewing.

@vstirbu
Copy link
Collaborator

vstirbu commented Jul 18, 2022

Do you disable the automatic light/dark mode selection using the configuration mermaid.theme? Wondering if the background color configuration is always dependent on providing the theme.

@vstirbu vstirbu mentioned this issue Sep 1, 2022
5 tasks
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