timvink / mkdocs-charts-plugin

Mkdocs plugin to add vegalite charts to your pages
https://timvink.github.io/mkdocs-charts-plugin/
MIT License
80 stars 6 forks source link

Support for mkdocs-material toggle dark mode #3

Closed timvink closed 2 years ago

timvink commented 2 years ago

Either we can specify a custom vega theme that uses mkdocs-material colors.

Or we can watch the media-preference and change the vega theme to dark and back to default on the fly. For that, there's a refresh() function shown in the Githubissues.

  • Githubissues is a development platform for aggregating issues.