open-innovations / oi-lume-viz

Lume Plugin that enables charting
https://open-innovations.github.io/oi-lume-viz/
5 stars 1 forks source link

Allow setting default properties per site #4

Closed gilesdring closed 1 year ago

gilesdring commented 1 year ago

Set a _data element (perhaps oi-viz as a top-level key) in a given scope to set default values for options

slowe commented 1 year ago

I'd like to be able to use this to set a common default colour for features in visualisations. I'm currently setting "#dfdfdf" in multiple places.

gilesdring commented 1 year ago

Does this duplicate #21, or rather does #21 specialise this for colours. If so, shall we close this one in favour of that?

slowe commented 1 year ago

Yes, #21 does specialise this for colours. We can close this and have separate issues for site-specific fonts and other config.