Closed pnezis closed 5 months ago
It was reported in Tucan that some themes do not render properly. After some investigation it seems that the reason is that kino_vega_lite applies a default theme, which may overwrite the Tucan themes settings based on vega-lite precedence settings.
kino_vega_lite
vega-lite
I am not sure if this is possible, but a possible workaround would be to conditionally apply the livebook theme. For example:
KinoVegaLite.configure(apply_default_theme: false)
If this is doable, and you agree with this, I can have a look into it (even though JS is not my thing 😄 )
Hey, I think we can have Kino.VegaLite.configure(theme: nil | :livebook), with :livebook being the default. A PR is welcome!
Kino.VegaLite.configure(theme: nil | :livebook)
:livebook
Sounds good, will send a PR the following days.
It was reported in Tucan that some themes do not render properly. After some investigation it seems that the reason is that
kino_vega_lite
applies a default theme, which may overwrite the Tucan themes settings based onvega-lite
precedence settings.I am not sure if this is possible, but a possible workaround would be to conditionally apply the livebook theme. For example:
If this is doable, and you agree with this, I can have a look into it (even though JS is not my thing 😄 )