What's Changed
This release has better support light/dark modes. You can specify the vegalite theme to use for light, and/or dark mode. In addition, you can specify which `mkdocs-material` themes qualify as light and which as dark. This way, the charts will properly change light/dark mode, even when using custom mkdocs-material themes.
The `vegalite_theme` option has been replaced with the `vegalite_theme_light` option. A new `integrations` option section lets you specify the mkdocs-material theme(s) that correspond with light and dark. Here are the new default settings:
yaml
mkdocs.yml
plugins:
- charts:
vega_theme_light: default
vega_theme_dark: dark
integrations:
mkdocs_material:
themes_light:
- default
themes_dark:
- slate
Pull requests:
* Add support for custom light/dark schemes by sisp in https://github.com/timvink/mkdocs-charts-plugin/pull/23
* Add new option vega_theme_light by timvink in https://github.com/timvink/mkdocs-charts-plugin/pull/25
New Contributors
* sisp made their first contribution in https://github.com/timvink/mkdocs-charts-plugin/pull/23
**Full Changelog**: https://github.com/timvink/mkdocs-charts-plugin/compare/v0.0.11...v0.0.12