Theming (light/dark mode) for Graphviz? #877
Unanswered
qwertychouskie
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
By default, anything output from Graphviz just uses default colors, which is pretty jarring in dark mode:

Currently we use a bit of a CSS hack to make it look better:
That makes it look like this:

While it's certainly an improvement, it's a bit hacky and the background color visibly doesn't match. The "Sphinx-Immaterial" theme seems to have a better solution, where it actually uses the theme colors in the SVG: https://jbms.github.io/sphinx-immaterial/graphviz.html It would be nice to have something similar in furo.
Beta Was this translation helpful? Give feedback.
All reactions