Open domoritz opened 5 years ago
I think this support require a lot of effort. You can accept the PR for a minor version.
I've actually manually set the config before to create a dark mode. It's actually pretty nice.
You can find my code at https://github.com/uwdata/falcon/commit/8a9de43496842e62d883dc1e16b581e22ddfe678. However, I didn't extract the Vega config into the Falcon config, which I now realize is the right approach.
If you want to add more theming support you can do that, but i only need to change the bar colors at the moment. Please approve it
Unfortunately, this change only would introduce backward-incompatible changes once we add support for theming. I don't plan to accept it into the main repo but you can use your fork until theming support lands here.
Add support for theming with Vega configs (https://vega.github.io/vega/docs/config/).