-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support or workaround for dark themes #9
Comments
I found a workable solution by altering the background color of a section. I'll close the issue as this works for me. |
I don't think the problem i solved. Please re-open it. I tried by adding some CSS, I could manage to filter out a non light-theme by using CSS attribute selector, but think the .jp-RenderedMarkdown selector is too broad. body[data-jp-theme-light="false"] .jp-RenderedMarkdown img{
background: red;
} Can we possible append classes jupyterlab-markup and appropriate svgbob mermaid to rendered SVG's? If we had those class names we could easy add a backgroundcolor or whatever in https://github.com/agoose77/jupyterlab-markup/blob/master/style/base.css |
Whilst I think theme awareness would be a good feature, see also the dark theme : https://mermaid-js.github.io/mermaid/#/./theming?id=theme-variables-reference-table |
Just following this up with a TODO @agoose77 -
|
The extension works like a charm, but I wish there's a better way to view diagrams in dark themes.
The text was updated successfully, but these errors were encountered: