Closed gilesdring closed 1 year ago
This is a sub-feature of #4
I've added in the ability to define (or redefine) named colours so that brand-specific colours can be set per site.
It is now possible to set:
colours:
background: <default background colour>
names: <object with K:V pairs of scales - keys are JSON safe strings, values are CSS colour styles>
series: <array of colours to cycle in series>
scales: <object with K:V pairs of scales - keys are JSON safe strings, values are CSS colour styles>
Allow default colours and named colour scales, categories, etc for sites.
This should be by providing configuration by passing in as config to the module load (in
_config.js/ts
).The additional keys are: